|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.transport.UsernamePasswordCredentials
public class UsernamePasswordCredentials
A simple credentials implementation. Stores username and password.
Constructor Summary | |
---|---|
UsernamePasswordCredentials(String username,
String password)
Constructs a usernamePassword credential with the given username and password. |
Method Summary | |
---|---|
String |
getPassword()
Obtains the password. |
String |
getUsername()
Obtains the username. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsernamePasswordCredentials(String username, String password)
Constructs a usernamePassword credential with the given username and password.
username
- the username/login id for the credentialspassword
- the plaintext password for the credentialsMethod Detail |
---|
public String getUsername()
Obtains the username.
public String getPassword()
Obtains the password.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |