org.mortbay.jetty.security
Class DigestAuthenticator.Digest

java.lang.Object
  extended by org.mortbay.jetty.security.Credential
      extended by org.mortbay.jetty.security.DigestAuthenticator.Digest
Enclosing class:
DigestAuthenticator

private static class DigestAuthenticator.Digest
extends Credential


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.jetty.security.Credential
Credential.Crypt, Credential.MD5
 
Field Summary
(package private)  String cnonce
           
(package private)  String method
           
(package private)  String nc
           
(package private)  String nonce
           
(package private)  String qop
           
(package private)  String realm
           
(package private)  String response
           
(package private)  String uri
           
(package private)  String username
           
 
Constructor Summary
DigestAuthenticator.Digest(String m)
           
 
Method Summary
 boolean check(Object credentials)
          Check a credential
 String toString()
           
 
Methods inherited from class org.mortbay.jetty.security.Credential
getCredential
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

method

String method

username

String username

realm

String realm

nonce

String nonce

nc

String nc

cnonce

String cnonce

qop

String qop

uri

String uri

response

String response
Constructor Detail

DigestAuthenticator.Digest

DigestAuthenticator.Digest(String m)
Method Detail

check

public boolean check(Object credentials)
Description copied from class: Credential
Check a credential

Specified by:
check in class Credential
Parameters:
credentials - The credential to check against. This may either be another Credential object, a Password object or a String which is interpreted by this credential.
Returns:
True if the credentials indicated that the shared secret is known to both this Credential and the passed credential.

toString

public String toString()
Overrides:
toString in class Object