public class SidRetrievalStrategyImpl extends Object implements SidRetrievalStrategy
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.
| Constructor and Description |
|---|
SidRetrievalStrategyImpl() |
SidRetrievalStrategyImpl(org.springframework.security.access.hierarchicalroles.RoleHierarchy roleHierarchy) |
| Modifier and Type | Method and Description |
|---|---|
List<Sid> |
getSids(org.springframework.security.core.Authentication authentication) |
public SidRetrievalStrategyImpl()
public SidRetrievalStrategyImpl(org.springframework.security.access.hierarchicalroles.RoleHierarchy roleHierarchy)
public List<Sid> getSids(org.springframework.security.core.Authentication authentication)
getSids in interface SidRetrievalStrategy