T - the type for the body of the Messagepublic class DefaultMessageSecurityExpressionHandler<T> extends AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>
SecurityExpressionHandler which uses a
MessageSecurityExpressionRoot.| Constructor and Description |
|---|
DefaultMessageSecurityExpressionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected SecurityExpressionOperations |
createSecurityExpressionRoot(Authentication authentication,
org.springframework.messaging.Message<T> invocation)
Implement in order to create a root object of the correct type for the supported
invocation type.
|
void |
setTrustResolver(AuthenticationTrustResolver trustResolver) |
createEvaluationContext, createEvaluationContextInternal, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchypublic DefaultMessageSecurityExpressionHandler()
protected SecurityExpressionOperations createSecurityExpressionRoot(Authentication authentication, org.springframework.messaging.Message<T> invocation)
AbstractSecurityExpressionHandlercreateSecurityExpressionRoot in class AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>authentication - the current authentication objectinvocation - the invocation (filter, method, channel)public void setTrustResolver(AuthenticationTrustResolver trustResolver)