java.io.Serializable, java.security.Principalpublic class CoyotePrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
name |
The username of the user represented by this Principal.
|
| Constructor | Description |
|---|---|
CoyotePrincipal(java.lang.String name) |
| Modifier and Type | Method | 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 final 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-2018 Apache Software Foundation. All Rights Reserved.