Class Jsr250Voter
java.lang.Object
org.springframework.security.access.annotation.Jsr250Voter
- All Implemented Interfaces:
- AccessDecisionVoter<Object>
Deprecated.
Voter on JSR-250 configuration attributes.
- Since:
- 2.0
- 
Field SummaryFields inherited from interface org.springframework.security.access.AccessDecisionVoterACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.All classes are supported.booleansupports(ConfigAttribute configAttribute) Deprecated.The specified config attribute is supported if its an instance of aJsr250SecurityConfig.intvote(Authentication authentication, Object object, Collection<ConfigAttribute> definition) Deprecated.Votes according to JSR 250.
- 
Constructor Details- 
Jsr250Voterpublic Jsr250Voter()Deprecated.
 
- 
- 
Method Details- 
supportsDeprecated.The specified config attribute is supported if its an instance of aJsr250SecurityConfig.- Specified by:
- supportsin interface- AccessDecisionVoter<Object>
- Parameters:
- configAttribute- The config attribute.
- Returns:
- whether the config attribute is supported.
 
- 
supportsDeprecated.All classes are supported.- Specified by:
- supportsin interface- AccessDecisionVoter<Object>
- Parameters:
- clazz- the class.
- Returns:
- true
 
- 
votepublic int vote(Authentication authentication, Object object, Collection<ConfigAttribute> definition) Deprecated.Votes according to JSR 250.If no JSR-250 attributes are found, it will abstain, otherwise it will grant or deny access based on the attributes that are found. - Specified by:
- votein interface- AccessDecisionVoter<Object>
- Parameters:
- authentication- The authentication object.
- object- The access object.
- definition- The configuration definition.
- Returns:
- The vote.
 
 
- 
Jsr250AuthorizationManagerinstead