public interface IPrincipalToLocal
Modifier and Type | Method and Description |
---|---|
void |
prepare(Map<String,Object> topoConf)
Invoked once immediately after construction.
|
default String |
toLocal(Principal principal)
Convert a Principal to a local user name.
|
String |
toLocal(String principalName) |
void prepare(Map<String,Object> topoConf)
topoConf
- Storm configurationdefault String toLocal(Principal principal)
principal
- the principal to convertCopyright © 2023 The Apache Software Foundation. All rights reserved.