public class CoyotePrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
The username of the user represented by this Principal.
|
Constructor and Description |
---|
CoyotePrincipal(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
toString()
Return a String representation of this object, which exposes only
information that should be public.
|
protected java.lang.String name
public java.lang.String getName()
getName
in interface java.security.Principal
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.