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.Principalpublic java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.ObjectCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.