public interface IHttpCredentialsPlugin
Interface for handling credentials in an HttpServletRequest
Modifier and Type | Method and Description |
---|---|
String |
getUserName(javax.servlet.http.HttpServletRequest req)
Gets the user name from the request.
|
ReqContext |
populateContext(ReqContext context,
javax.servlet.http.HttpServletRequest req)
Populates a given context with credentials information from an HTTP request.
|
void |
prepare(Map storm_conf)
Invoked once immediately after construction
|
void prepare(Map storm_conf)
Invoked once immediately after construction
storm_conf
- Storm configurationString getUserName(javax.servlet.http.HttpServletRequest req)
Gets the user name from the request.
req
- the servlet requestReqContext populateContext(ReqContext context, javax.servlet.http.HttpServletRequest req)
Populates a given context with credentials information from an HTTP request.
req
- the servlet requestCopyright © 2022 The Apache Software Foundation. All Rights Reserved.