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

Field Summary
private  String password
          Password of a subject.
private static long serialVersionUID
          Serial version UID.
private  String username
          Username of a subject.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

username

private String username
Username of a subject.


password

private String password
Password of a subject.

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 © 1999-2012. All Rights Reserved.