org.w3c.jigsaw.acl
Class DigestAuthPrincipal

java.lang.Object
  extended by org.w3c.jigsaw.acl.HTTPPrincipal
      extended by org.w3c.jigsaw.acl.DigestAuthPrincipal
All Implemented Interfaces:
java.security.Principal
Direct Known Subclasses:
DigestQopAuthPrincipal

public class DigestAuthPrincipal
extends HTTPPrincipal


Field Summary
protected  java.lang.String dac_user
           
 
Fields inherited from class org.w3c.jigsaw.acl.HTTPPrincipal
lenient, request
 
Constructor Summary
  DigestAuthPrincipal(Request request)
           
protected DigestAuthPrincipal(Request request, java.lang.String internal)
           
  DigestAuthPrincipal(Request request, java.lang.String nonce, java.lang.String old_nonce, java.lang.String algo)
           
 
Method Summary
 boolean equals(java.lang.Object another)
           
 java.lang.String getName()
           
 int hashCode()
           
 boolean isStale()
           
 java.lang.String toString()
           
 
Methods inherited from class org.w3c.jigsaw.acl.HTTPPrincipal
getInetAddress, getOriginalName, getRealm, getRequest
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dac_user

protected java.lang.String dac_user
Constructor Detail

DigestAuthPrincipal

public DigestAuthPrincipal(Request request,
                           java.lang.String nonce,
                           java.lang.String old_nonce,
                           java.lang.String algo)
                    throws InvalidAuthException
Throws:
InvalidAuthException

DigestAuthPrincipal

public DigestAuthPrincipal(Request request)
                    throws InvalidAuthException
Throws:
InvalidAuthException

DigestAuthPrincipal

protected DigestAuthPrincipal(Request request,
                              java.lang.String internal)
                       throws InvalidAuthException
Throws:
InvalidAuthException
Method Detail

isStale

public boolean isStale()

equals

public boolean equals(java.lang.Object another)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class HTTPPrincipal

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class HTTPPrincipal

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal
Overrides:
getName in class HTTPPrincipal