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

## edu.internet2.middleware.shibboleth.idp.authn
Class UsernamePrincipal

    java.lang.Object
      edu.internet2.middleware.shibboleth.idp.authn.UsernamePrincipal

All Implemented Interfaces:
  Principal

    public class UsernamePrincipal

extends Object
implements Principal

A basic implementation of `Principal`.

Constructor Summary
`UsernamePrincipal(String principalName)` Constructor.

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getName()`
`int` | `hashCode()`
`String` | `toString()`

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

Constructor Detail

### UsernamePrincipal

    public UsernamePrincipal(String principalName)

  Constructor.

  Parameters:
    `principalName` - name of the principal

Method Detail

### getName

    public String getName()

  Specified by:
    `getName` in interface `Principal`

### toString

    public String toString()

  Specified by:
    `toString` in interface `Principal`
  Overrides:
    `toString` in class `Object`

### hashCode

    public int hashCode()

  Specified by:
    `hashCode` in interface `Principal`
  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object obj)

  Specified by:
    `equals` in interface `Principal`
  Overrides:
    `equals` in class `Object`

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

Copyright © 2006-2008 Internet2. All Rights Reserved.