backtype.storm.security.auth
Class AuthUtils
java.lang.Object
backtype.storm.security.auth.AuthUtils
public class AuthUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGIN_CONTEXT_SERVER
public static final String LOGIN_CONTEXT_SERVER
- See Also:
- Constant Field Values
LOGIN_CONTEXT_CLIENT
public static final String LOGIN_CONTEXT_CLIENT
- See Also:
- Constant Field Values
SERVICE
public static final String SERVICE
- See Also:
- Constant Field Values
AuthUtils
public AuthUtils()
GetConfiguration
public static Configuration GetConfiguration(Map storm_conf)
- Construct a JAAS configuration object per storm configuration file
- Parameters:
storm_conf - Storm configuration
- Returns:
- JAAS configuration object
GetTransportPlugin
public static ITransportPlugin GetTransportPlugin(Map storm_conf,
Configuration login_conf)
- Construct a transport plugin per storm configuration
- Parameters:
conf - storm configuration
- Returns:
get
public static String get(Configuration configuration,
String section,
String key)
throws IOException
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.