File:  [Public] / java / classes / org / w3c / jigsaw / acl / DigestAuthPrincipal.java
Revision 1.1: download - view: text, annotated - select for diffs
Thu Apr 22 14:10:17 1999 UTC (25 years, 2 months ago) by bmahe
Branches: MAIN
CVS tags: HEAD
SecurityLevel almost finished

// 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
    {
	
    }

}

Webmaster