org.springframework.security.acls.domain
Class SidRetrievalStrategyImpl
java.lang.Object
org.springframework.security.acls.domain.SidRetrievalStrategyImpl
- All Implemented Interfaces:
- SidRetrievalStrategy
public class SidRetrievalStrategyImpl
- extends Object
- implements SidRetrievalStrategy
Basic implementation of SidRetrievalStrategy
that creates a Sid
for the principal, as well as
every granted authority the principal holds. Can optionally have a RoleHierarchy injected in order to
determine the extended list of authorities that the principal is assigned.
The returned array will always contain the PrincipalSid
before any GrantedAuthoritySid
elements.
- Version:
- $Id: SidRetrievalStrategyImpl.java 3925 2009-10-05 19:28:53Z ltaylor $
- Author:
- Ben Alex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SidRetrievalStrategyImpl
public SidRetrievalStrategyImpl()
SidRetrievalStrategyImpl
public SidRetrievalStrategyImpl(RoleHierarchy roleHierarchy)
getSids
public List<Sid> getSids(Authentication authentication)
- Specified by:
getSids
in interface SidRetrievalStrategy
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.