FileDocCategorySizeDatePackage
CoyotePrincipal.javaAPI DocApache Tomcat 6.0.142123Fri Jul 20 04:20:34 BST 2007org.apache.catalina.connector

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: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

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());