|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
IHTTPAuthenticator. An HTTP authenticator knows how to extract credentials from an HTTP request, and how to authenticate them (probably against an IRealm)
Method Summary | |
boolean |
authenticate(InboundHTTPRequest request,
OutboundHTTPResponse response,
java.lang.String relativePath,
electric.servlet.security.WebResourceCollection webResourceCollection)
Authenticate a request. |
java.lang.String |
getAuthMethod()
|
boolean |
sendNoAuthenticationResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
IRealm realm)
Send an HTTP response that indicates that this request was not authenticated. |
void |
setContext(HTTPContext context)
Authenticators are per-servlet-context. |
Method Detail |
public java.lang.String getAuthMethod()
public void setContext(HTTPContext context)
context
- public boolean sendNoAuthenticationResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, IRealm realm) throws java.io.IOException
request
- response
- realm
-
java.io.IOException
GuardAuthorizer
public boolean authenticate(InboundHTTPRequest request, OutboundHTTPResponse response, java.lang.String relativePath, electric.servlet.security.WebResourceCollection webResourceCollection) throws java.io.IOException
request
- servlet request passed into httpcontext.serviceresponse
- servlet response passed into httpcontext.servicerelativePath
- httpcontext to which the request was directed
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |