Package org.apache.storm.security.auth
Class DefaultHttpCredentialsPlugin
java.lang.Object
org.apache.storm.security.auth.DefaultHttpCredentialsPlugin
- All Implemented Interfaces:
- IHttpCredentialsPlugin
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
DefaultHttpCredentialsPluginpublic DefaultHttpCredentialsPlugin()
 
- 
- 
Method Details- 
prepareNo-op.- Specified by:
- preparein interface- IHttpCredentialsPlugin
- Parameters:
- topoConf- Storm configuration
 
- 
getUserNameDescription copied from interface:IHttpCredentialsPluginGets the user name from the request.- Specified by:
- getUserNamein interface- IHttpCredentialsPlugin
- Parameters:
- req- the servlet request
- Returns:
- the authenticated user, or null if none is authenticated.
 
- 
populateContextDescription copied from interface:IHttpCredentialsPluginPopulates a given context with credentials information from an HTTP request.- Specified by:
- populateContextin interface- IHttpCredentialsPlugin
- req- the servlet request
- Returns:
- the context
 
 
-