CoyotePrincipalpublic class CoyotePrincipal extends Object implements PrincipalGeneric implementation of java.security.Principal that
is used to represent principals authenticated at the protocol handler level. |
Fields Summary |
---|
protected String | nameThe username of the user represented by this Principal. |
Constructors Summary |
---|
public CoyotePrincipal(String name)
this.name = name;
|
Methods Summary |
---|
public java.lang.String | getName()
return (this.name);
| public java.lang.String | toString()Return a String representation of this object, which exposes only
information that should be public.
StringBuffer sb = new StringBuffer("CoyotePrincipal[");
sb.append(this.name);
sb.append("]");
return (sb.toString());
|
|