public class BasicAuthenticator extends AuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
AUTHENTICATE_BYTES
Authenticate bytes.
|
protected static String |
info
Descriptive information about this implementation.
|
AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, lifecycle, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sso, startedcontainer, controller, domain, mserver, next, onameAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
BasicAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
String |
getInfo()
Return descriptive information about this Valve implementation.
|
addLifecycleListener, associate, authenticate, findLifecycleListeners, generateSessionId, getCache, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, invoke, isChangeSessionIdOnAuthentication, login, logout, reauthenticateFromSSO, register, removeLifecycleListener, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, start, stop, unregisterbackgroundProcess, createObjectName, event, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setController, setNext, setObjectName, toStringpublic static final byte[] AUTHENTICATE_BYTES
protected static final String info
public String getInfo()
getInfo in interface ValvegetInfo in class AuthenticatorBasepublic boolean authenticate(Request request, javax.servlet.http.HttpServletResponse response, LoginConfig config) throws IOException
true if any specified
constraint has been satisfied, or false if we have
created a response challenge already.authenticate in class AuthenticatorBaserequest - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication
should be performedIOException - if an input/output error occursCopyright © 2016 JBoss by Red Hat. All rights reserved.