public class HTTPRequestHandler extends Object implements HTTPRequestHandlerInterface
HTTPRequestHandler
is to process and secure the
in-bound or out-bound HTTPRequest of the web service clients
and web service providers.Constructor and Description |
---|
HTTPRequestHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getLoginURL(javax.servlet.http.HttpServletRequest request)
Returns Login URL for client to be redirected.
|
void |
init(Map config)
Initialize the HTTP Request handler with a configuration map.
|
boolean |
shouldAuthenticate(Subject subject,
javax.servlet.http.HttpServletRequest request)
Checks whether client should be authenticated or not.
|
public void init(Map config)
init
in interface HTTPRequestHandlerInterface
config
- the configuration map.public boolean shouldAuthenticate(Subject subject, javax.servlet.http.HttpServletRequest request)
shouldAuthenticate
in interface HTTPRequestHandlerInterface
subject
- the subject that may be used by the callers
to store Principals and credentials validated in the request.request
- the HttpServletRequest
associated with
this Client message request.public String getLoginURL(javax.servlet.http.HttpServletRequest request)
getLoginURL
in interface HTTPRequestHandlerInterface
request
- the HttpServletRequest
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.