Top Description Fields Constructors Methods
org.apache.catalina.connector

public Class CoyotePrincipal

extends Object
implements Principal, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, java.security.Principal
Imports
java.io.Serializable, java.security.Principal

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

Field Summary

Modifier and TypeField and Description
protected final String
name

The username of the user represented by this Principal.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements java.security.Principal.getName.

Returns the name of this Principal.

public String
toString()

Overrides java.lang.Object.toString.

Implements java.security.Principal.toString.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nameback to summary
protected final String name

The username of the user represented by this Principal.

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

CoyotePrincipalback to summary
public CoyotePrincipal(String name)

Method Detail

getNameback to summary
public String getName()

Implements java.security.Principal.getName.

Doc from java.security.Principal.getName.

Returns the name of this Principal.

Returns:String

the name of this Principal.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements java.security.Principal.toString.

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

Returns:String

Doc from java.security.Principal.toString.

a string representation of this Principal.

Annotations
@Override