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

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

public class TomcatRoleGenerator
extends java.lang.Object
implements RoleGenerator

Generate roles from Tomcat Principal

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

Constructor Summary
TomcatRoleGenerator()
           
 
Method Summary
 java.util.List<java.lang.String> generateRoles(java.security.Principal principal)
          Generate roles given a 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 java.util.List<java.lang.String> generateRoles(java.security.Principal principal)
Description copied from interface: RoleGenerator
Generate roles given a principal

Specified by:
generateRoles in interface RoleGenerator
Returns:
Throws:
java.lang.IllegalArgumentException - if principal is not of type GenericPrincipal or User
See Also:
RoleGenerator.generateRoles(Principal)


Copyright © 2009 JBoss Inc.. All Rights Reserved.