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 storm_conf)
Invoked once immediately after construction
|
String |
toLocal(Principal principal)
Convert a Principal to a local user name.
|
public void prepare(Map storm_conf)
Invoked once immediately after construction
prepare in interface IPrincipalToLocalstorm_conf - Storm configurationpublic String toLocal(Principal principal)
Convert a Principal to a local user name.
toLocal in interface IPrincipalToLocalprincipal - the principal to convertCopyright © 2019 The Apache Software Foundation. All Rights Reserved.