Package org.apache.storm.security.auth
Class DefaultHttpCredentialsPlugin
java.lang.Object
org.apache.storm.security.auth.DefaultHttpCredentialsPlugin
- All Implemented Interfaces:
 IHttpCredentialsPlugin
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetUserName(jakarta.servlet.http.HttpServletRequest req) Gets the user name from the request.populateContext(ReqContext context, jakarta.servlet.http.HttpServletRequest req) Populates a given context with credentials information from an HTTP request.voidNo-op. 
- 
Constructor Details
- 
DefaultHttpCredentialsPlugin
public DefaultHttpCredentialsPlugin() 
 - 
 - 
Method Details
- 
prepare
No-op.- Specified by:
 preparein interfaceIHttpCredentialsPlugin- Parameters:
 topoConf- Storm configuration
 - 
getUserName
Description copied from interface:IHttpCredentialsPluginGets the user name from the request.- Specified by:
 getUserNamein interfaceIHttpCredentialsPlugin- Parameters:
 req- the servlet request- Returns:
 - the authenticated user, or null if none is authenticated.
 
 - 
populateContext
Description copied from interface:IHttpCredentialsPluginPopulates a given context with credentials information from an HTTP request.- Specified by:
 populateContextin interfaceIHttpCredentialsPluginreq- the servlet request- Returns:
 - the context
 
 
 -