public interface IPrincipalToLocal
Storm can be configured to launch worker processed as a given user. Some transports need to map the Principal to a local user name.
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.
|
void prepare(Map storm_conf)
Invoked once immediately after construction
storm_conf
- Storm configurationCopyright © 2019 The Apache Software Foundation. All Rights Reserved.