public class RoleVoterImpl
extends org.springframework.security.access.vote.RoleVoter
Constructor and Description |
---|
RoleVoterImpl() |
Modifier and Type | Method and Description |
---|---|
int |
vote(org.springframework.security.core.Authentication authentication,
Object resource,
Collection<org.springframework.security.access.ConfigAttribute> config)
This method is a pass-through for Spring-RoleVoter.
|
public int vote(org.springframework.security.core.Authentication authentication, Object resource, Collection<org.springframework.security.access.ConfigAttribute> config)
vote
in interface org.springframework.security.access.AccessDecisionVoter<Object>
vote
in class org.springframework.security.access.vote.RoleVoter
authentication
- principal seeking AuthZresource
- that is under protectionconfig
- access-attributes defined on resourceCopyright © 2009–2014 DuraSpace. All rights reserved.