|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cafesip.sipunit.Credential
public class Credential
This class holds authentication information required for accessing a realm. This information is used to form an authorization header when a sent request is challenged by the network element owning the realm.
| Constructor Summary | |
|---|---|
Credential()
A no-arg constructor for this class. |
|
Credential(java.lang.String realm,
java.lang.String user,
java.lang.String password)
A constructor for this class. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPassword()
This method returns the password. |
java.lang.String |
getRealm()
This method returns the realm. |
java.lang.String |
getUser()
This method returns the user. |
void |
setPassword(java.lang.String password)
This method sets the password to use when authentication is required. |
void |
setRealm(java.lang.String realm)
This method sets the realm associated with the user name and password. |
void |
setUser(java.lang.String user)
This method sets the user name to use when authentication is required. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Credential(java.lang.String realm,
java.lang.String user,
java.lang.String password)
realm - the realm to which the user, password applyuser - the user name to use when authenticatingpassword - the password to use when authenticatingpublic Credential()
| Method Detail |
|---|
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The password value to set.public java.lang.String getRealm()
public void setRealm(java.lang.String realm)
realm - The realm value to set.public java.lang.String getUser()
public void setUser(java.lang.String user)
user - The user value to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||