org.jboss.resteasy.skeleton.key.as7
Class CatalinaSecurityContextHelper
java.lang.Object
org.jboss.resteasy.skeleton.key.as7.CatalinaSecurityContextHelper
public class CatalinaSecurityContextHelper
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalinaSecurityContextHelper
public CatalinaSecurityContextHelper()
createPrincipal
public org.apache.catalina.realm.GenericPrincipal createPrincipal(org.apache.catalina.Realm realm,
Principal identity,
Collection<String> roleSet)
getPrincipal
protected Principal getPrincipal(Subject subject)
- Get the Principal given the authenticated Subject. Currently the first principal that is not of type
Group
is
considered or the single principal inside the CallerPrincipal group.
- Parameters:
subject
-
- Returns:
- the authenticated principal
createGroup
protected Group createGroup(String name,
Set<Principal> principals)
getRoleSets
protected Group[] getRoleSets(Collection<String> roleSet)
Copyright © 2013. All Rights Reserved.