|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.vote.RoleVoter
org.duracloud.security.vote.RoleVoterImpl
public class RoleVoterImpl
This class wraps the Spring-RoleVoter for debug visibility.
Field Summary |
---|
Fields inherited from interface org.springframework.security.vote.AccessDecisionVoter |
---|
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED |
Constructor Summary | |
---|---|
RoleVoterImpl()
|
Method Summary | |
---|---|
int |
vote(org.springframework.security.Authentication authentication,
java.lang.Object resource,
org.springframework.security.ConfigAttributeDefinition config)
This method is a pass-through for Spring-RoleVoter. |
Methods inherited from class org.springframework.security.vote.RoleVoter |
---|
getRolePrefix, setRolePrefix, supports, supports |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleVoterImpl()
Method Detail |
---|
public int vote(org.springframework.security.Authentication authentication, java.lang.Object resource, org.springframework.security.ConfigAttributeDefinition config)
vote
in interface org.springframework.security.vote.AccessDecisionVoter
vote
in class org.springframework.security.vote.RoleVoter
authentication
- principal seeking AuthZresource
- that is under protectionconfig
- access-attributes defined on resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |