public class DefaultWebSecurityExpressionHandler extends AbstractSecurityExpressionHandler<FilterInvocation> implements WebSecurityExpressionHandler
| Constructor and Description |
|---|
DefaultWebSecurityExpressionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected SecurityExpressionOperations |
createSecurityExpressionRoot(Authentication authentication,
FilterInvocation fi)
Implement in order to create a root object of the correct type for the supported invocation type.
|
void |
setTrustResolver(AuthenticationTrustResolver trustResolver)
Sets the
AuthenticationTrustResolver to be used. |
createEvaluationContext, createEvaluationContextInternal, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEvaluationContextgetExpressionParserprotected SecurityExpressionOperations createSecurityExpressionRoot(Authentication authentication, FilterInvocation fi)
AbstractSecurityExpressionHandlercreateSecurityExpressionRoot in class AbstractSecurityExpressionHandler<FilterInvocation>authentication - the current authentication objectfi - the invocation (filter, method, channel)public void setTrustResolver(AuthenticationTrustResolver trustResolver)
AuthenticationTrustResolver to be used. The default is
AuthenticationTrustResolverImpl.trustResolver - the AuthenticationTrustResolver to use. Cannot be
null.