Class MessageSecurityExpressionRoot
java.lang.Object
org.springframework.security.access.expression.SecurityExpressionRoot
org.springframework.security.messaging.access.expression.MessageSecurityExpressionRoot
- All Implemented Interfaces:
SecurityExpressionOperations
The
SecurityExpressionRoot
used for Message
expressions.- Since:
- 4.0
-
Field Summary
Fields inherited from class org.springframework.security.access.expression.SecurityExpressionRoot
admin, authentication, create, delete, denyAll, permitAll, read, write
-
Constructor Summary
ConstructorDescriptionMessageSecurityExpressionRoot
(Authentication authentication, org.springframework.messaging.Message<?> message) -
Method Summary
Methods inherited from class org.springframework.security.access.expression.SecurityExpressionRoot
denyAll, getAuthentication, getPrincipal, hasAnyAuthority, hasAnyRole, hasAuthority, hasPermission, hasPermission, hasRole, isAnonymous, isAuthenticated, isFullyAuthenticated, isRememberMe, permitAll, setDefaultRolePrefix, setPermissionEvaluator, setRoleHierarchy, setTrustResolver
-
Field Details
-
message
public final org.springframework.messaging.Message<?> message
-
-
Constructor Details
-
MessageSecurityExpressionRoot
public MessageSecurityExpressionRoot(Authentication authentication, org.springframework.messaging.Message<?> message)
-