|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpAuthenticator
A HttpAuthenticator handles the authorization protocol of the incoming requests and supplies a way of authenticating the user making the request.
| Method Summary | |
|---|---|
java.net.PasswordAuthentication |
getAuthentication(javax.servlet.http.HttpServletRequest request)
Identifies the user associated with this request (if any) and returns it's username, null if no user is associated with the request. |
java.lang.String |
getAuthType()
Returns the authorization-type of this Authenticator. |
void |
reject(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Reject the outgoing response since the authentication has failed. |
| Method Detail |
|---|
java.lang.String getAuthType()
java.net.PasswordAuthentication getAuthentication(javax.servlet.http.HttpServletRequest request)
request - The request for which to establish the user identity
void reject(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||