Package org.picketbox.util
Class PicketBoxUtil
- java.lang.Object
-
- org.picketbox.util.PicketBoxUtil
-
public class PicketBoxUtil extends Object
Utility Methods- Since:
- Feb 5, 2010
- Author:
- Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description PicketBoxUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrincipalgetPrincipalFromSubject(Subject subject)Get the first non-group principalstatic RoleGroupgetRolesFromSubject(Subject subject)Given a JAAS Subject, will look forGroupprincipals with name "Roles" and return that in aRoleGroup
-