public class SubjectUtils extends Object
| Constructor and Description |
|---|
SubjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrentEffectivePrincipalName() |
static Subject |
getCurrentSubject() |
static String |
getEffectivePrincipalName(Subject subject) |
static String |
getImpersonatedPrincipalName(Subject subject) |
static String |
getPrimaryPrincipalName(Subject subject) |
static boolean |
isImpersonating(Subject subject) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.