Spring Security Framework

org.springframework.security.authoritymapping
Class SimpleMappableAttributesRetriever

java.lang.Object
  extended by org.springframework.security.authoritymapping.SimpleMappableAttributesRetriever
All Implemented Interfaces:
MappableAttributesRetriever

public class SimpleMappableAttributesRetriever
extends Object
implements MappableAttributesRetriever

This class implements the MappableAttributesRetriever interface by just returning a list of mappable attributes as previously set using the corresponding setter method.

Since:
2.0
Author:
Ruud Senden

Constructor Summary
SimpleMappableAttributesRetriever()
           
 
Method Summary
 String[] getMappableAttributes()
          Implementations of this method should return a list of all string attributes which can be mapped to GrantedAuthoritys.
 void setMappableAttributes(String[] aMappableRoles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMappableAttributesRetriever

public SimpleMappableAttributesRetriever()
Method Detail

getMappableAttributes

public String[] getMappableAttributes()
Description copied from interface: MappableAttributesRetriever
Implementations of this method should return a list of all string attributes which can be mapped to GrantedAuthoritys.

Specified by:
getMappableAttributes in interface MappableAttributesRetriever
Returns:
list of all mappable roles

setMappableAttributes

public void setMappableAttributes(String[] aMappableRoles)

Spring Security Framework

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