public class PasswordCredential extends Object
PasswordCredential
is a place holder for the
username/password object.Constructor and Description |
---|
PasswordCredential(String username,
String password)
Construct a credential with the specified password and user.
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Returns the password.
|
String |
getUserName()
Returns the user name.
|
public PasswordCredential(String username, String password)
username
- the user name.password
- the password.public String getUserName()
public String getPassword()
Copyright © 2010-2014, ForgeRock All Rights Reserved.