// DigestAuthPrincipal.java // $Id: DigestAuthPrincipal.java,v 1.1 1999/04/22 14:10:17 bmahe Exp $ // (c) COPYRIGHT MIT, INRIA and Keio, 1999. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.jigsaw.acl; import java.security.Principal; import org.w3c.jigsaw.http.Request; /** * @version $Revision: 1.1 $ * @author Benoît Mahé (bmahe@w3.org) */ public class DigestAuthPrincipal implements Principal { public boolean isStale() { return true; } public boolean equals(Object another) { return false; } public String toString() { return "Digest"; } public int hashCode() { return -1; } public String getName() { return "toto"; } public DigestAuthPrincipal(Request request) throws InvalidAuthException { } }