java.io.Serializable
, java.security.Principal
public 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.Principal
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.