Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » web » tomcat » tc4 » authenticator » [javadoc | source]
org.jboss.web.tomcat.tc4.authenticator
public class: BasicAuthenticator [javadoc | source]
java.lang.Object
   org.apache.catalina.authenticator.AuthenticatorBase
      org.jboss.web.tomcat.tc4.authenticator.AuthenticatorBase
         org.jboss.web.tomcat.tc4.authenticator.BasicAuthenticator
An Authenticator and Valve implementation of HTTP BASIC Authentication, as outlined in RFC 2617: "HTTP Authentication: Basic and Digest Access Authentication."

Differs from the standard Tomcat version in that it associates the session of any request with any single sign-on session that may exist.

Field Summary
protected static final  Base64 base64Helper    The Base64 helper object for this class. 
protected static final  String info    Descriptive information about this implementation. 
Fields inherited from org.jboss.web.tomcat.tc4.authenticator.AuthenticatorBase:
info,  ourSSO
Method from org.jboss.web.tomcat.tc4.authenticator.BasicAuthenticator Summary:
authenticate,   getInfo,   parsePassword,   parseUsername
Methods from org.jboss.web.tomcat.tc4.authenticator.AuthenticatorBase:
associate,   reauthenticateFromSSO,   register,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.tc4.authenticator.BasicAuthenticator Detail:
 public boolean authenticate(HttpRequest request,
    HttpResponse 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.

    Differs from the standard Tomcat version in that it associates the session of any request with any single sign-on session that may exist.

 public String getInfo() 
    Return descriptive information about this Valve implementation.
 protected String parsePassword(String authorization) 
    Parse the password from the specified authorization credentials. If none can be found, return null.
 protected String parseUsername(String authorization) 
    Parse the username from the specified authorization credentials. If none can be found, return null.