Top Description Fields Constructors Methods
org.glassfish.grizzly.http.server

public Class GrizzlyPrincipal

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
Version
$Revision: 1.2 $ $Date: 2005/12/08 01:28:34 $

Field Summary

Modifier and TypeField and Description
protected 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 String name

The username of the user represented by this Principal.

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

GrizzlyPrincipalback to summary
public GrizzlyPrincipal(final 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.

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.

Annotations
@Override