com.sun.identity.wss.security
Class PasswordCredential

java.lang.Object
  extended by com.sun.identity.wss.security.PasswordCredential

public class PasswordCredential
extends Object

This class PasswordCredential is a place holder for the username/password object.


Constructor Summary
PasswordCredential(String username, String password)
          Construct a credential with the specified password and user.
 
Method Summary
 String getPassword()
          Returns the password.
 String getUserName()
          Returns the user name.
 

Constructor Detail

PasswordCredential

public PasswordCredential(String username,
                          String password)
Construct a credential with the specified password and user.

Parameters:
username - the user name.
password - the password.
Method Detail

getUserName

public String getUserName()
Returns the user name.

Returns:
the user name.

getPassword

public String getPassword()
Returns the password.

Returns:
the password.