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 Principal
getPrincipalFromSubject(Subject subject)
Get the first non-group principalstatic RoleGroup
getRolesFromSubject(Subject subject)
Given a JAAS Subject, will look forGroup
principals with name "Roles" and return that in aRoleGroup
-