Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.http
Class DigestAuthenticator  view DigestAuthenticator download DigestAuthenticator.java

java.lang.Object
  extended byorg.mortbay.http.DigestAuthenticator
All Implemented Interfaces:
Authenticator, java.io.Serializable

public class DigestAuthenticator
extends java.lang.Object
implements Authenticator

DIGEST authentication.

Version:
$Id: DigestAuthenticator.java,v 1.9 2003/10/12 11:58:32 gregwilkins Exp $

Nested Class Summary
private static class DigestAuthenticator.Digest
           
 
Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
DigestAuthenticator()
           
 
Method Summary
 java.security.Principal authenticate(UserRealm realm, java.lang.String pathInContext, HttpRequest request, HttpResponse response)
          Authenticate.
 java.lang.String getAuthMethod()
           
 void sendChallenge(UserRealm realm, HttpRequest request, HttpResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

DigestAuthenticator

public DigestAuthenticator()
Method Detail

authenticate

public java.security.Principal authenticate(UserRealm realm,
                                            java.lang.String pathInContext,
                                            HttpRequest request,
                                            HttpResponse response)
                                     throws java.io.IOException
Description copied from interface: Authenticator
Authenticate.

Specified by:
authenticate in interface Authenticator

getAuthMethod

public java.lang.String getAuthMethod()
Specified by:
getAuthMethod in interface Authenticator

sendChallenge

public void sendChallenge(UserRealm realm,
                          HttpRequest request,
                          HttpResponse response)
                   throws java.io.IOException