Package org.apache.storm.security.auth
Class X509CertOrKerberosPrincipalToLocal
- java.lang.Object
-
- org.apache.storm.security.auth.X509CertOrKerberosPrincipalToLocal
-
- All Implemented Interfaces:
IPrincipalToLocal
public class X509CertOrKerberosPrincipalToLocal extends Object implements IPrincipalToLocal
-
-
Constructor Summary
Constructors Constructor Description X509CertOrKerberosPrincipalToLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepare(Map<String,Object> conf)
Invoked once immediately after construction.String
toLocal(String principalName)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.storm.security.auth.IPrincipalToLocal
toLocal
-
-
-
-
Method Detail
-
prepare
public void prepare(Map<String,Object> conf)
Description copied from interface:IPrincipalToLocal
Invoked once immediately after construction.- Specified by:
prepare
in interfaceIPrincipalToLocal
- Parameters:
conf
- Storm configuration
-
toLocal
public String toLocal(String principalName)
- Specified by:
toLocal
in interfaceIPrincipalToLocal
-
-