Package org.apache.storm.security.auth
Class ServerAuthUtils
java.lang.Object
org.apache.storm.security.auth.ServerAuthUtils
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic IHttpCredentialsPluginConstruct an HttpServletRequest credential plugin specified by the DRPC storm configuration.static IHttpCredentialsPlugingetHttpCredentialsPlugin(Map<String, Object> conf, String klassName) static IHttpCredentialsPluginConstruct an HttpServletRequest credential plugin specified by the UI storm configuration. 
- 
Constructor Details
- 
ServerAuthUtils
public ServerAuthUtils() 
 - 
 - 
Method Details
- 
getHttpCredentialsPlugin
public static IHttpCredentialsPlugin getHttpCredentialsPlugin(Map<String, Object> conf, String klassName)  - 
getUiHttpCredentialsPlugin
Construct an HttpServletRequest credential plugin specified by the UI storm configuration.- Parameters:
 conf- storm configuration- Returns:
 - the plugin
 
 - 
getDrpcHttpCredentialsPlugin
Construct an HttpServletRequest credential plugin specified by the DRPC storm configuration.- Parameters:
 conf- storm configuration- Returns:
 - the plugin
 
 
 -