Package | Description |
---|---|
oracle.security.jps.util |
Modifier and Type | Method and Description |
---|---|
static PrincipalHolder |
SubjectUtil.getRolePrincipalHolder(java.lang.String roleGuid)
Returns the enterprise role
PrincipalHolder object for the given enterprise role GUID |
static PrincipalHolder |
SubjectUtil.getUserPrincipalHolder(java.security.Principal principal)
For the given user principal, returns the
PrincipalHolder for this user principal if present, otherwise returns null |
static PrincipalHolder |
SubjectUtil.getUserPrincipalHolder(java.lang.String userGuid)
Returns the enterprise user
PrincipalHolder object for the given enterprise user GUID |
static PrincipalHolder |
SubjectUtil.getUserPrincipalHolder(javax.security.auth.Subject subject)
For the given authenticated subject, returns the
PrincipalHolder for user principal in this subejct if present, otherwise returns null |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<PrincipalHolder> |
SubjectUtil.getRolePrincipalHolder(java.security.Principal principal)
Returns the set of
PrincipalHolder for all direct and indirect granted enterprise roles for this user principal |
static java.util.Set<PrincipalHolder> |
SubjectUtil.getRolePrincipalHolder(javax.security.auth.Subject subject)
Returns the set of
PrincipalHolder for all direct and indirect granted enterprise roles for the user present in this subject |