org.picketlink.identity.federation.web.roles
Class DefaultRoleGenerator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRoleGenerator
public DefaultRoleGenerator()
generateRoles
public List<String> generateRoles(Principal principal)
- Description copied from interface:
RoleGenerator
- Generate roles given a principal
- Specified by:
generateRoles
in interface RoleGenerator
- Returns:
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.