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

## com.caucho.security
Class BasicPrincipal

    java.lang.Object
      |
      +--com.caucho.security.BasicPrincipal

All Implemented Interfaces:
  java.security.Principal, java.io.Serializable

Direct Known Subclasses:
  BasicPrincipal

public class BasicPrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable

See Also:
  Serialized Form

Constructor Summary
`BasicPrincipal()` Zero-arg constructor for serialization.
`BasicPrincipal(java.lang.String name)`

Method Summary
`boolean` | `equals(java.lang.Object b)`
`java.lang.String` | `getName()`
`int` | `hashCode()`
`java.lang.String` | `toString()`

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

Constructor Detail

### BasicPrincipal

    public BasicPrincipal()

  Zero-arg constructor for serialization.

### BasicPrincipal

    public BasicPrincipal(java.lang.String name)

Method Detail

### getName

    public java.lang.String getName()

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

### equals

    public boolean equals(java.lang.Object b)

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

### hashCode

    public int hashCode()

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

### toString

    public java.lang.String toString()

  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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD