com.microfocus.cobol.connector.cci.CobolConnectionSpec
public class CobolConnectionSpec
extends Object
implements ConnectionSpec, Serializable
See Also:
static int | UNINITIALIZED |
static int | USE_USERPWD |
Method Summary | |
---|---|
int |
getAuthenticationMechanism()
Get authentication mechanism. |
String | getPassword()
Get password. |
String | getRealm()
Get realm. |
boolean | getStatefulSession()
Get the stateful session. |
String | getUser()
Get username. |
void | setAuthenticationMechanism(int authenticationMechanism)
Set authentication mechanism. |
void | setPassword(String password)
Set password |
void | setRealm(String realm)
Set realm. |
void | setStatefulSession(boolean aSession)
Set stateful session. |
void | setUser(String user)
Set user name. |
public static final int USE_USERPWD
See Also:
public static final int UNINITIALIZED
See Also:
public(String user, String password, String realm)
Create a CobolConnectionSpec instance.
user | User name |
password | Password |
realm | Realm |
public CobolConnectionSpec()
Create a CobolConnectionSpec instance.
public CobolConnectionSpec(boolean statefulSession)
public void setStatefulSession(boolean aSession)
Set stateful session.
public boolean getStatefulSession()
Get stateful session.
public String getUser()
Get the user name.
public String getPassword()
Get the password.
public String getRealm()
Get the realm.
public int getAuthenticationMechanism()
Get authentication mechanism. Can be one of USE_USERPWD UNINITIALIZED.
public void String setUser()
Set the user name.
user | The user name to be set. |
public void String setPassword()
Set the password.
password | The password being set. |
public void String setRealm()
Set the realm.
realm | The realm to be set. |
public int setAuthenticationMechanism(int authenticationMechanism)
Set the authentication mechanism.
authenticationMechanism | The authentication mechanism to be set. One of USE_USERPWD UNINITIALIZED. |