edu.internet2.middleware.shibboleth.idp.authn.provider
Class UsernamePasswordCredential

java.lang.Object
  extended by 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


Copyright © 2006-2009 Internet2. All Rights Reserved.