public class JBossWebPrincipalFactory extends GenericPrincipalFactory
| Constructor and Description |
|---|
JBossWebPrincipalFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Group |
createGroup(String name,
Set<Principal> principals) |
protected org.apache.catalina.realm.GenericPrincipal |
createPrincipal(Principal userPrincipal,
List<String> roles) |
org.apache.catalina.realm.GenericPrincipal |
createPrincipal(org.apache.catalina.Realm realm,
Principal identity,
Set<String> roleSet,
KeycloakSecurityContext securityContext) |
protected Principal |
getPrincipal(Subject subject)
Get the Principal given the authenticated Subject.
|
protected Group[] |
getRoleSets(Collection<String> roleSet) |
protected org.apache.catalina.realm.GenericPrincipal createPrincipal(Principal userPrincipal, List<String> roles)
createPrincipal in class GenericPrincipalFactorypublic org.apache.catalina.realm.GenericPrincipal createPrincipal(org.apache.catalina.Realm realm,
Principal identity,
Set<String> roleSet,
KeycloakSecurityContext securityContext)
createPrincipal in class GenericPrincipalFactoryprotected Principal getPrincipal(Subject subject)
Group is
considered or the single subject inside the CallerPrincipal group.getPrincipal in class GenericPrincipalFactorysubject - protected Group createGroup(String name, Set<Principal> principals)
createGroup in class GenericPrincipalFactoryprotected Group[] getRoleSets(Collection<String> roleSet)
getRoleSets in class GenericPrincipalFactoryCopyright © 2015. All rights reserved.