Package org.apache.storm.security.auth
Class ServerAuthUtils
java.lang.Object
org.apache.storm.security.auth.ServerAuthUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IHttpCredentialsPlugin
Construct an HttpServletRequest credential plugin specified by the DRPC storm configuration.static IHttpCredentialsPlugin
getHttpCredentialsPlugin
(Map<String, Object> conf, String klassName) static IHttpCredentialsPlugin
Construct 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
-