public class KerberosPrincipalParser extends Object
| Constructor and Description |
|---|
KerberosPrincipalParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getRealm(String principal)
Determines the realm specified in the given kerberos principal.
|
public static String getRealm(String principal)
Determines the realm specified in the given kerberos principal.
The content of the given principal after the occurrence
of the last non-escaped realm delimiter ("@") will be considered
the realm of the principal.
The validity of the given principal and the determined realm
is not be verified by this method.
principal - the principal for which the realm will be determinedCopyright © 2020 Apache NiFi Project. All rights reserved.