public class BasicAuthenticationHandler extends BaseAuthenticationHandler
AUTH_RESOURCES, constraints, realm, realmName| Constructor and Description |
|---|
BasicAuthenticationHandler(org.w3c.dom.Node loginConfigNode,
java.util.List constraintNodes,
java.util.Set rolesAllowed,
AuthenticationRealm realm) |
| Modifier and Type | Method and Description |
|---|---|
static int |
decodeBase64(char[] input,
byte[] output,
int inOffset,
int inLength,
int outOffset)
Decodes a byte array from base64
|
protected void |
requestAuthentication(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pathRequested)
Call this once we know that we need to authenticate
|
protected boolean |
validatePossibleAuthenticationResponse(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pathRequested)
Handling the (possible) response
|
doRoleCheck, processAuthentication, setNoCachepublic BasicAuthenticationHandler(org.w3c.dom.Node loginConfigNode,
java.util.List constraintNodes,
java.util.Set rolesAllowed,
AuthenticationRealm realm)
protected void requestAuthentication(HttpServletRequest request, HttpServletResponse response, java.lang.String pathRequested) throws java.io.IOException
requestAuthentication in class BaseAuthenticationHandlerjava.io.IOExceptionprotected boolean validatePossibleAuthenticationResponse(HttpServletRequest request, HttpServletResponse response, java.lang.String pathRequested) throws java.io.IOException
validatePossibleAuthenticationResponse in class BaseAuthenticationHandlerjava.io.IOExceptionpublic static int decodeBase64(char[] input,
byte[] output,
int inOffset,
int inLength,
int outOffset)
Copyright © 2013. All Rights Reserved.