@InterfaceAudience.Private @InterfaceStability.Evolving public class SecurityUtil extends Object
Constructor and Description |
---|
SecurityUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getPrincipalWithoutRealm(String principal)
Get the user name from a principal
|
static String |
getUserFromPrincipal(String principal)
Get the user name from a principal
|
public SecurityUtil()
public static String getUserFromPrincipal(String principal)
public static String getPrincipalWithoutRealm(String principal)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.