Package org.apache.catalina.connector
Class CoyotePrincipal
- java.lang.Object
- 
- org.apache.catalina.connector.CoyotePrincipal
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.security.Principal
 
 public class CoyotePrincipal extends java.lang.Object implements java.security.Principal, java.io.SerializableGeneric implementation of java.security.Principal that is used to represent principals authenticated at the protocol handler level.- Author:
- Remy Maucherat
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringnameThe username of the user represented by this Principal.
 - 
Constructor SummaryConstructors Constructor Description CoyotePrincipal(java.lang.String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()java.lang.StringtoString()Return a String representation of this object, which exposes only information that should be public.
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName() - Specified by:
- getNamein interface- java.security.Principal
 
 - 
toStringpublic java.lang.String toString() Return a String representation of this object, which exposes only information that should be public.- Specified by:
- toStringin interface- java.security.Principal
- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-