|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.dsws.AuthenticationCredential
public class AuthenticationCredential
The AuthenticationCredential object stocks the user name and password used
for secure HTTP Authentication.
This object is passed to the Connection object.
Example:
com.businessobjects.dsws.AuthenticationCredential myCredential =
new AuthenticationCredential("name", "password");
URL boConURL = new URL("http://
com.businessobjects.dsws.Connection boConnection;
boConnection = new Connection(boConURL);
boConnection.setAuthenticationCredential(myCredential);
Session mySession = new Session(boConnection);
Connection,
ProxyParameters,
Session,
SSLWrapper,
Serialized Form| Constructor Summary | |
|---|---|
AuthenticationCredential()
Instantiate a new blank AuthenticationCredential object. |
|
AuthenticationCredential(java.lang.String userName,
java.lang.String password)
Instantiate a new AuthenticationCredential object with all parameters set. |
|
| Method Summary | |
|---|---|
AuthenticationCredential |
copy()
Internal Use Only. |
java.lang.String |
getPassword()
Return the password of an authorized user. |
java.lang.String |
getUserName()
Return the name of the authorized user. |
void |
setPassword(java.lang.String password)
Set the password of an authorized user. |
void |
setUserName(java.lang.String userName)
Set the name of the authorized user. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationCredential()
public AuthenticationCredential(java.lang.String userName,
java.lang.String password)
userName - The name of an authorized user.password - The password of the authorized user.| Method Detail |
|---|
public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - The name of an authorized user.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The password of an authorized user.public AuthenticationCredential copy()
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||