Package org.apache.storm.security.auth
Interface IHttpCredentialsPlugin
- All Known Implementing Classes:
 DefaultHttpCredentialsPlugin
public interface IHttpCredentialsPlugin
Interface for handling credentials in an HttpServletRequest.
- 
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.voidInvoked once immediately after construction. 
- 
Method Details
- 
prepare
Invoked once immediately after construction.- Parameters:
 topoConf- Storm configuration
 - 
getUserName
Gets the user name from the request.- Parameters:
 req- the servlet request- Returns:
 - the authenticated user, or null if none is authenticated.
 
 - 
populateContext
Populates a given context with credentials information from an HTTP request.- Parameters:
 req- the servlet request- Returns:
 - the context
 
 
 -