Spring Security Framework

org.springframework.security.acls.sid
Class SidRetrievalStrategyImpl

java.lang.Object
  extended by org.springframework.security.acls.sid.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.

The returned array will always contain the PrincipalSid before any GrantedAuthoritySid elements.

Version:
$Id$
Author:
Ben Alex

Constructor Summary
SidRetrievalStrategyImpl()
           
 
Method Summary
 Sid[] getSids(Authentication authentication)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SidRetrievalStrategyImpl

public SidRetrievalStrategyImpl()
Method Detail

getSids

public Sid[] getSids(Authentication authentication)
Specified by:
getSids in interface SidRetrievalStrategy

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.