public class KerberosPrincipalToLocal extends Object implements IPrincipalToLocal
Map a kerberos principal to a local user.
| Constructor and Description |
|---|
KerberosPrincipalToLocal() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare(Map<String,Object> topoConf)
Invoked once immediately after construction.
|
String |
toLocal(String principal)
Convert a Principal to a local user name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoLocalpublic void prepare(Map<String,Object> topoConf)
Invoked once immediately after construction.
prepare in interface IPrincipalToLocaltopoConf - Storm configurationpublic String toLocal(String principal)
Convert a Principal to a local user name.
toLocal in interface IPrincipalToLocalprincipal - the principal to convertCopyright © 2022 The Apache Software Foundation. All rights reserved.