FileDocCategorySizeDatePackage
CoyotePrincipal.javaAPI DocGlassfish v2 API3206Fri May 04 22:32:42 BST 2007org.apache.coyote.tomcat5

CoyotePrincipal

public class CoyotePrincipal extends Object implements Principal
Generic implementation of java.security.Principal that is used to represent principals authenticated at the protocol handler level.
author
Remy Maucherat
version
$Revision: 1.3 $ $Date: 2007/05/05 05:32:42 $

Fields Summary
protected String
name
The username of the user represented by this Principal.
Constructors Summary
public CoyotePrincipal(String name)


        this.name = name;

    
Methods Summary
public java.lang.StringgetName()


       
        return (this.name);
    
public java.lang.StringtoString()
Return a String representation of this object, which exposes only information that should be public.


        StringBuffer sb = new StringBuffer("CoyotePrincipal[");
        sb.append(this.name);
        sb.append("]");
        return (sb.toString());