public class PicketBoxUtil extends Object
Constructor and Description |
---|
PicketBoxUtil() |
Modifier and Type | Method and Description |
---|---|
static Principal |
getPrincipalFromSubject(Subject subject)
Get the first non-group principal
|
static RoleGroup |
getRolesFromSubject(Subject subject)
Given a JAAS Subject, will look for
Group principals
with name "Roles" and return that in a RoleGroup |
Copyright © 2016 JBoss by Red Hat. All rights reserved.