PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.roles
Class DefaultRoleGenerator

java.lang.Object
  extended by org.picketlink.identity.federation.web.roles.DefaultRoleGenerator
All Implemented Interfaces:
RoleGenerator

public class DefaultRoleGenerator
extends Object
implements RoleGenerator

Simple Role Generator that looks inside a roles.properties on the classpath with format: principalName=role1,role2

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

Constructor Summary
DefaultRoleGenerator()
           
 
Method Summary
 List<String> generateRoles(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

DefaultRoleGenerator

public DefaultRoleGenerator()
Method Detail

generateRoles

public List<String> generateRoles(Principal principal)
Description copied from interface: RoleGenerator
Generate roles given a principal

Specified by:
generateRoles in interface RoleGenerator
Returns:

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.