backtype.storm.security.auth
Class AuthUtils

java.lang.Object
  extended by backtype.storm.security.auth.AuthUtils

public class AuthUtils
extends Object


Field Summary
static String LOGIN_CONTEXT_CLIENT
           
static String LOGIN_CONTEXT_SERVER
           
static String SERVICE
           
 
Constructor Summary
AuthUtils()
           
 
Method Summary
static String get(Configuration configuration, String section, String key)
           
static Configuration GetConfiguration(Map storm_conf)
          Construct a JAAS configuration object per storm configuration file
static ITransportPlugin GetTransportPlugin(Map storm_conf, Configuration login_conf)
          Construct a transport plugin per storm configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AuthUtils

public AuthUtils()
Method Detail

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.