@Deprecated public class ConsumerSecurityVoter extends Object implements org.springframework.security.access.AccessDecisionVoter<Object>
| Constructor and Description |
|---|
ConsumerSecurityVoter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(Class<?> clazz)
Deprecated.
All classes are supported.
|
boolean |
supports(org.springframework.security.access.ConfigAttribute attribute)
Deprecated.
The config attribute is supported if it's an instance of
ConsumerSecurityConfig. |
int |
vote(org.springframework.security.core.Authentication authentication,
Object object,
Collection<org.springframework.security.access.ConfigAttribute> configAttributes)
Deprecated.
Votes on giving access to the specified authentication based on the security attributes.
|
public boolean supports(org.springframework.security.access.ConfigAttribute attribute)
ConsumerSecurityConfig.supports in interface org.springframework.security.access.AccessDecisionVoter<Object>attribute - The attribute.ConsumerSecurityConfig.public boolean supports(Class<?> clazz)
supports in interface org.springframework.security.access.AccessDecisionVoter<Object>clazz - The class.public int vote(org.springframework.security.core.Authentication authentication,
Object object,
Collection<org.springframework.security.access.ConfigAttribute> configAttributes)
vote in interface org.springframework.security.access.AccessDecisionVoter<Object>authentication - The authentication.object - The object.configAttributes - the ConfigAttributes.Copyright © 2020. All rights reserved.