PicketLink Federation Common Server Bindings for Apache Tomcat 2.1.3.1-redhat-1

org.picketlink.identity.federation.bindings.tomcat
Class TomcatRoleGenerator

java.lang.Object
  extended by org.picketlink.identity.federation.bindings.tomcat.TomcatRoleGenerator
All Implemented Interfaces:
RoleGenerator

public class TomcatRoleGenerator
extends Object
implements RoleGenerator

Generate roles from Tomcat Principal

Since:
Jan 21, 2009
Author:
Anil.Saldhana@redhat.com

Constructor Summary
TomcatRoleGenerator()
           
 
Method Summary
 List<String> generateRoles(Principal principal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomcatRoleGenerator

public TomcatRoleGenerator()
Method Detail

generateRoles

public List<String> generateRoles(Principal principal)
Specified by:
generateRoles in interface RoleGenerator
Throws:
IllegalArgumentException - if principal is not of type GenericPrincipal or User
See Also:
RoleGenerator.generateRoles(Principal)

PicketLink Federation Common Server Bindings for Apache Tomcat 2.1.3.1-redhat-1

Copyright © 2012 JBoss Inc.. All Rights Reserved.