UsernamePasswordCredential (Shibboleth Identity Provider 2.2.0 Java API.)
Date: 2010-09-23

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.provider
Class UsernamePasswordCredential

    java.lang.Object
      edu.internet2.middleware.shibboleth.idp.authn.provider.UsernamePasswordCredential

All Implemented Interfaces:
  Serializable

    public class UsernamePasswordCredential

extends Object
implements Serializable

Represents a username and password entered used to authenticate a subject.

See Also:
  Serialized Form

Constructor Summary
`UsernamePasswordCredential(String name, String pass)` Constructor.

Method Summary
`String` | `getPassword()` Gets the password of the subject.
`String` | `getUsername()` Gets the username of the subject.

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

Constructor Detail

### UsernamePasswordCredential

    public UsernamePasswordCredential(String name,
                                      String pass)

  Constructor.

  Parameters:
    `name` - username of the subject
    `pass` - password of the subject

Method Detail

### getUsername

    public String getUsername()

  Gets the username of the subject.

  Returns:
    username of the subject

### getPassword

    public String getPassword()

  Gets the password of the subject.

  Returns:
    password of the subject

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-2010 Internet2. All Rights Reserved.