public interface AuthenticationHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthenticationHandler.InvalidAuthenticationException
An exception thrown by an AuthenticationHandler in the situation where
a malformed credential or token is passed.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
STASHED_BODY
Some authentication handlers need to read the request body to perform verification.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
SecurityToken |
getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest request)
Produce a security token extracted from the HTTP request.
|
String |
getWWWAuthenticateHeader(String realm)
Return a String to be used for a WWW-Authenticate header.
|
static final String STASHED_BODY
String getName()
SecurityToken getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest request) throws AuthenticationHandler.InvalidAuthenticationException
request - The request to extract a token from.AuthenticationHandler.InvalidAuthenticationExceptionString getWWWAuthenticateHeader(String realm)
realm - the name of the realm to use for the authenticate headerCopyright © 2007-2012. All Rights Reserved.