org.apache.coyote.tomcat4
public class: CoyotePrincipal [javadoc |
source]
java.lang.Object
org.apache.coyote.tomcat4.CoyotePrincipal
All Implemented Interfaces:
Principal
Generic implementation of
java.security.Principal that
is used to represent principals authenticated at the protocol handler level.
- author:
Remy - Maucherat
- version:
$ - Revision: 299222 $ $Date: 2004-02-24 04:02:18 -0500 (Tue, 24 Feb 2004) $
| Field Summary |
|---|
| protected String | name | The username of the user represented by this Principal. |
| Method from org.apache.coyote.tomcat4.CoyotePrincipal Summary: |
|---|
|
getName, toString |
| Method from org.apache.coyote.tomcat4.CoyotePrincipal Detail: |
public String getName() {
return (this.name);
}
|
public String toString() {
StringBuffer sb = new StringBuffer("CoyotePrincipal[");
sb.append(this.name);
sb.append("]");
return (sb.toString());
}
Return a String representation of this object, which exposes only
information that should be public. |