|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--jain.protocol.ip.sip.Credentials
|
+--jain.protocol.ip.sip.BasicCredentials
This class represents Basic Authentication scheme Credentials. It consists of a UserId and a Password.
Credentials,
AuthorizationHeader,
ProxyAuthorizationHeader| Constructor Summary | |
BasicCredentials(java.lang.String userId,
java.lang.String password)
Creates BasicCredentials based on given userId and password |
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of BasicCredentials |
boolean |
equals(BasicCredentials basicCredentials)
Indicates whether some other BasicCredentials is "equal to" this one |
java.lang.String |
getPassword()
Gets password of Credentials |
java.lang.String |
getUserId()
Gets userId of Credentials |
void |
setPassword(java.lang.String password)
Sets password of Credentials |
void |
setUserId(java.lang.String userId)
Sets userId of Credentials |
java.lang.String |
toString()
Gets string representation of BasicCredentials |
| Methods inherited from class jain.protocol.ip.sip.Credentials |
equals,
getExtension,
getExtensions,
getScheme,
hasExtension,
hasExtensions,
removeExtension,
removeExtensions,
setExtension,
setScheme |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public BasicCredentials(java.lang.String userId,
java.lang.String password)
throws java.lang.IllegalArgumentException
userId - userIdpassword - password| Method Detail |
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
throws java.lang.IllegalArgumentException
userId - userIdpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
throws java.lang.IllegalArgumentException
password - passwordpublic java.lang.String toString()
public java.lang.Object clone()
public boolean equals(BasicCredentials basicCredentials)
basicCredentials - the BasicCredentials with which to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright - 2000 Sun Microsystems