org.cloudfoundry.identity.uaa.scim.security
Class GroupVoter

java.lang.Object
  extended by org.cloudfoundry.identity.uaa.scim.security.GroupVoter
All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<Object>

public class GroupVoter
extends Object
implements org.springframework.security.access.AccessDecisionVoter<Object>


Field Summary
 
Fields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
 
Constructor Summary
GroupVoter()
           
 
Method Summary
 void setGroupPrefix(String groupPrefix)
           
 void setMembershipManager(ScimGroupMembershipManager membershipManager)
           
 boolean supports(Class<?> clazz)
           
 boolean supports(org.springframework.security.access.ConfigAttribute attribute)
           
 int vote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupVoter

public GroupVoter()
Method Detail

setGroupPrefix

public void setGroupPrefix(String groupPrefix)

setMembershipManager

public void setMembershipManager(ScimGroupMembershipManager membershipManager)

supports

public boolean supports(org.springframework.security.access.ConfigAttribute attribute)
Specified by:
supports in interface org.springframework.security.access.AccessDecisionVoter<Object>

supports

public boolean supports(Class<?> clazz)
Specified by:
supports in interface org.springframework.security.access.AccessDecisionVoter<Object>

vote

public int vote(org.springframework.security.core.Authentication authentication,
                Object object,
                Collection<org.springframework.security.access.ConfigAttribute> attributes)
Specified by:
vote in interface org.springframework.security.access.AccessDecisionVoter<Object>


Copyright © 2013. All rights reserved.