CoyotePrincipal (Tomcat API Documentation)
Keywords: org.apache.catalina.connector.CoyotePrincipal class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.catalina.connector
Class CoyotePrincipal

    java.lang.Object
      org.apache.catalina.connector.CoyotePrincipal

All Implemented Interfaces:
  java.security.Principal

    public class CoyotePrincipal

extends java.lang.Object
implements java.security.Principal

Generic implementation of java.security.Principal that is used to represent principals authenticated at the protocol handler level.

Version:
  $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Author:
  Remy Maucherat

Field Summary
`protected java.lang.String` | `name` The username of the user represented by this Principal.

Constructor Summary
`CoyotePrincipal(java.lang.String name)`

Method Summary
`java.lang.String` | `getName()`
`java.lang.String` | `toString()` Return a String representation of this object, which exposes only information that should be public.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface java.security.Principal
`equals, hashCode`

Field Detail

### name

    protected java.lang.String name

  The username of the user represented by this Principal.

Constructor Detail

### CoyotePrincipal

    public CoyotePrincipal(java.lang.String name)

Method Detail

### getName

    public java.lang.String getName()

  Specified by:
    `getName` in interface `java.security.Principal`

### toString

    public java.lang.String toString()

  Return a String representation of this object, which exposes only information that should be public.

  Specified by:
    `toString` in interface `java.security.Principal`
  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.