org.apache.coyote.tomcat5

Class CoyotePrincipal

Implemented Interfaces:
Principal

public class CoyotePrincipal
extends java.lang.Object
implements Principal

Generic implementation of java.security.Principal that is used to represent principals authenticated at the protocol handler level.

Version:
$Revision: 1.2 $ $Date: 2004/02/27 14:58:53 $

Author:
Remy Maucherat

Field Summary

protected String
name
The username of the user represented by this Principal.

Constructor Summary

CoyotePrincipal(String name)

Method Summary

String
getName()
String
toString()
Return a String representation of this object, which exposes only information that should be public.

Field Details

name

protected String name
The username of the user represented by this Principal.

Constructor Details

CoyotePrincipal

public CoyotePrincipal(String name)

Method Details

getName

public String getName()


toString

public String toString()
Return a String representation of this object, which exposes only information that should be public.


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.