Class MessageExpressionVoter<T>
- java.lang.Object
-
- org.springframework.security.messaging.access.expression.MessageExpressionVoter<T>
-
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<org.springframework.messaging.Message<T>>
@Deprecated public class MessageExpressionVoter<T> extends java.lang.Object implements org.springframework.security.access.AccessDecisionVoter<org.springframework.messaging.Message<T>>
Deprecated.UseMessageMatcherDelegatingAuthorizationManager
insteadVoter which handlesMessage
authorisation decisions. If aMessageExpressionConfigAttribute
is found, then its expression is evaluated. If true,ACCESS_GRANTED
is returned. If false,ACCESS_DENIED
is returned. If noMessageExpressionConfigAttribute
is found, thenACCESS_ABSTAIN
is returned.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description MessageExpressionVoter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setExpressionHandler(org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.messaging.Message<T>> expressionHandler)
Deprecated.boolean
supports(java.lang.Class<?> clazz)
Deprecated.boolean
supports(org.springframework.security.access.ConfigAttribute attribute)
Deprecated.int
vote(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<T> message, java.util.Collection<org.springframework.security.access.ConfigAttribute> attributes)
Deprecated.
-
-
-
Method Detail
-
vote
public int vote(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<T> message, java.util.Collection<org.springframework.security.access.ConfigAttribute> attributes)
Deprecated.- Specified by:
vote
in interfaceorg.springframework.security.access.AccessDecisionVoter<T>
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute)
Deprecated.- Specified by:
supports
in interfaceorg.springframework.security.access.AccessDecisionVoter<T>
-
supports
public boolean supports(java.lang.Class<?> clazz)
Deprecated.- Specified by:
supports
in interfaceorg.springframework.security.access.AccessDecisionVoter<T>
-
setExpressionHandler
public void setExpressionHandler(org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.messaging.Message<T>> expressionHandler)
Deprecated.
-
-