org.glassfish.grizzly.http.server
Class GrizzlyPrincipal
java.lang.Object
org.glassfish.grizzly.http.server.GrizzlyPrincipal
- All Implemented Interfaces:
- Serializable, Principal
public class GrizzlyPrincipal
- extends Object
- implements Principal, Serializable
Generic implementation of java.security.Principal that
is used to represent principals authenticated at the protocol handler level.
- Version:
- $Revision: 1.2 $ $Date: 2005/12/08 01:28:34 $
- Author:
- Remy Maucherat
- See Also:
- Serialized Form
|
Field Summary |
protected String |
name
The username of the user represented by this Principal. |
|
Method Summary |
String |
getName()
|
String |
toString()
Return a String representation of this object, which exposes only
information that should be public. |
name
protected String name
- The username of the user represented by this Principal.
GrizzlyPrincipal
public GrizzlyPrincipal(String name)
getName
public String getName()
- Specified by:
getName in interface Principal
toString
public String toString()
- Return a String representation of this object, which exposes only
information that should be public.
- Specified by:
toString in interface Principal- Overrides:
toString in class Object
Copyright © 2012 Oracle Corporation. All Rights Reserved.