Package org.duracloud.security.vote
Class RoleVoterImpl
- java.lang.Object
-
- org.springframework.security.access.vote.RoleVoter
-
- org.duracloud.security.vote.RoleVoterImpl
-
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<Object>
public class RoleVoterImpl extends org.springframework.security.access.vote.RoleVoterThis class wraps the Spring-RoleVoter for debug visibility.- Author:
- Andrew Woods Date: Mar 12, 2010
-
-
Constructor Summary
Constructors Constructor Description RoleVoterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intvote(org.springframework.security.core.Authentication authentication, Object resource, Collection<org.springframework.security.access.ConfigAttribute> config)This method is a pass-through for Spring-RoleVoter.
-
-
-
Method Detail
-
vote
public 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.- Specified by:
votein interfaceorg.springframework.security.access.AccessDecisionVoter<Object>- Overrides:
votein classorg.springframework.security.access.vote.RoleVoter- Parameters:
authentication- principal seeking AuthZresource- that is under protectionconfig- access-attributes defined on resource- Returns:
- vote (AccessDecisionVoter.ACCESS_GRANTED, ACCESS_DENIED, ACCESS_ABSTAIN)
-
-