public class CatalinaSecurityContextHelper extends Object
Constructor and Description |
---|
CatalinaSecurityContextHelper() |
Modifier and Type | Method and Description |
---|---|
protected Group |
createGroup(String name,
Set<Principal> principals) |
org.apache.catalina.realm.GenericPrincipal |
createPrincipal(org.apache.catalina.Realm realm,
Principal identity,
Collection<String> roleSet) |
protected Principal |
getPrincipal(Subject subject)
Get the Principal given the authenticated Subject.
|
protected Group[] |
getRoleSets(Collection<String> roleSet) |
public org.apache.catalina.realm.GenericPrincipal createPrincipal(org.apache.catalina.Realm realm, Principal identity, Collection<String> roleSet)
protected Principal getPrincipal(Subject subject)
Group
is
considered or the single principal inside the CallerPrincipal group.subject
- protected Group[] getRoleSets(Collection<String> roleSet)
Copyright © 2014. All Rights Reserved.