Home » apache-tomcat-6.0.26-src » org.apache » catalina » authenticator » [javadoc | source]
org.apache.catalina.authenticator
public class: BasicAuthenticator [javadoc | source]
java.lang.Object
   org.apache.catalina.valves.ValveBase
      org.apache.catalina.authenticator.AuthenticatorBase
         org.apache.catalina.authenticator.BasicAuthenticator

All Implemented Interfaces:
    Authenticator, Lifecycle, Valve, MBeanRegistration, Contained

An Authenticator and Valve implementation of HTTP BASIC Authentication, as outlined in RFC 2617: "HTTP Authentication: Basic and Digest Access Authentication."
Field Summary
public static final  byte[] AUTHENTICATE_BYTES    Authenticate bytes. 
protected static final  String info    Descriptive information about this implementation. 
Fields inherited from org.apache.catalina.authenticator.AuthenticatorBase:
DEFAULT_ALGORITHM,  SESSION_ID_BYTES,  algorithm,  cache,  changeSessionIdOnAuthentication,  context,  digest,  entropy,  info,  disableProxyCaching,  securePagesWithPragma,  lifecycle,  random,  randomClass,  sm,  sso,  started
Fields inherited from org.apache.catalina.valves.ValveBase:
container,  containerLog,  info,  next,  sm,  domain,  oname,  mserver,  controller
Method from org.apache.catalina.authenticator.BasicAuthenticator Summary:
authenticate,   getInfo
Methods from org.apache.catalina.authenticator.AuthenticatorBase:
addLifecycleListener,   associate,   authenticate,   findLifecycleListeners,   generateSessionId,   getAlgorithm,   getCache,   getChangeSessionIdOnAuthentication,   getContainer,   getDigest,   getDisableProxyCaching,   getEntropy,   getInfo,   getRandom,   getRandomClass,   getSecurePagesWithPragma,   invoke,   reauthenticateFromSSO,   register,   removeLifecycleListener,   setAlgorithm,   setCache,   setChangeSessionIdOnAuthentication,   setContainer,   setDisableProxyCaching,   setEntropy,   setRandomClass,   setSecurePagesWithPragma,   start,   stop
Methods from org.apache.catalina.valves.ValveBase:
backgroundProcess,   createObjectName,   event,   getContainer,   getContainerName,   getController,   getDomain,   getInfo,   getNext,   getObjectName,   getParentName,   invoke,   postDeregister,   postRegister,   preDeregister,   preRegister,   setContainer,   setController,   setNext,   setObjectName,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.authenticator.BasicAuthenticator Detail:
 public boolean authenticate(Request request,
    Response response,
    LoginConfig config) throws IOException 
    Authenticate the user making this request, based on the specified login configuration. Return true if any specified constraint has been satisfied, or false if we have created a response challenge already.
 public String getInfo() 
    Return descriptive information about this Valve implementation.