org.apache.catalina.authenticator
クラス BasicAuthenticator

java.lang.Object
  |
  +--org.apache.catalina.valves.ValveBase
        |
        +--org.apache.catalina.authenticator.AuthenticatorBase
              |
              +--org.apache.catalina.authenticator.BasicAuthenticator
すべての実装インタフェース:
Authenticator, Contained, Lifecycle, Valve

public class BasicAuthenticator
extends AuthenticatorBase

An Authenticator and Valve implementation of HTTP BASIC Authentication, as outlined in RFC 2617: "HTTP Authentication: Basic and Digest Access Authentication."

バージョン:
$Revision: 1.10.2.3 $ $Date: 2002/03/25 13:58:34 $
作成者:
Craig R. McClanahan

クラス org.apache.catalina.authenticator.AuthenticatorBase から継承したフィールド
algorithm, cache, context, debug, DEFAULT_ALGORITHM, digest, entropy, info, lifecycle, random, randomClass, SESSION_ID_BYTES, sm, sso, started
 
クラス org.apache.catalina.valves.ValveBase から継承したフィールド
container
 
インタフェース org.apache.catalina.Lifecycle から継承したフィールド
START_EVENT, STOP_EVENT
 
コンストラクタの概要
BasicAuthenticator()
           
 
メソッドの概要
 boolean authenticate(HttpRequest request, HttpResponse response, LoginConfig config)
          Authenticate the user making this request, based on the specified login configuration.
 java.lang.String getInfo()
          Return descriptive information about this Valve implementation.
 
クラス org.apache.catalina.authenticator.AuthenticatorBase から継承したメソッド
accessControl, addLifecycleListener, associate, checkUserData, findConstraint, generateSessionId, getAlgorithm, getCache, getContainer, getDebug, getDigest, getEntropy, getRandom, getRandomClass, getSession, getSession, invoke, log, log, register, removeLifecycleListener, setAlgorithm, setCache, setContainer, setDebug, setEntropy, setRandomClass, start, stop
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicAuthenticator

public BasicAuthenticator()
メソッドの詳細

getInfo

public java.lang.String getInfo()
Return descriptive information about this Valve implementation.
オーバーライド:
クラス AuthenticatorBase 内の getInfo

authenticate

public boolean authenticate(HttpRequest request,
                            HttpResponse response,
                            LoginConfig config)
                     throws java.io.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.
オーバーライド:
クラス AuthenticatorBase 内の authenticate
パラメータ:
request - Request we are processing
response - Response we are creating
login - Login configuration describing how authentication should be performed
例外:
java.io.IOException - if an input/output error occurs


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.