public class TomcatRoleGenerator extends Object implements RoleGenerator
Constructor and Description |
---|
TomcatRoleGenerator() |
Modifier and Type | Method and Description |
---|---|
List<String> |
generateRoles(Principal principal)
Generate roles given a principal
|
public List<String> generateRoles(Principal principal)
RoleGenerator
generateRoles
in interface RoleGenerator
IllegalArgumentException
- if principal is not of type GenericPrincipal or UserRoleGenerator.generateRoles(Principal)
Copyright © 2017 JBoss by Red Hat. All rights reserved.