|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.latka.http.CredentialsImpl
public class CredentialsImpl
Concrete Implementation of
Credentials
Credentials
Field Summary | |
---|---|
protected String |
_password
holds password |
protected String |
_userName
holds user name |
Constructor Summary | |
---|---|
CredentialsImpl(String userName,
String password)
Create credentials given user name and password |
Method Summary | |
---|---|
String |
getPassword()
return the user's password |
String |
getUserName()
return the user's name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String _userName
protected String _password
Constructor Detail |
---|
public CredentialsImpl(String userName, String password)
userName
- the user's namepassword
- the user's passwordMethod Detail |
---|
public String getUserName()
getUserName
in interface Credentials
public String getPassword()
getPassword
in interface Credentials
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |