Package org.apache.storm.security.auth
Interface IPrincipalToLocal
- All Known Implementing Classes:
- DefaultPrincipalToLocal,- KerberosPrincipalToLocal,- X509CertOrKerberosPrincipalToLocal,- X509CertPrincipalToLocal
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.
- 
Method Summary
- 
Method Details- 
prepareInvoked once immediately after construction.- Parameters:
- topoConf- Storm configuration
 
- 
toLocalConvert a Principal to a local user name.- Parameters:
- principal- the principal to convert
- Returns:
- The local user name.
 
- 
toLocal
 
-