java.lang.Objectcom.microfocus.cobol.connector.cci.CobolConnectionSpec
This implementation class is used by an application component to pass connection-specific info/properties to the getConnection method in CobolConnectionFactory class
| Field Summary | |
static int |
UNINITIALIZED
|
static int |
USE_USERPWD
|
| Constructor Summary | |
CobolConnectionSpec()
Create a CobolConnectionSpec instance. |
|
CobolConnectionSpec(boolean statefulSession)
|
|
CobolConnectionSpec(String user,
String password,
String realm)
Create a CobolConnectionSpec instance |
|
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int USE_USERPWD
public static final int UNINITIALIZED
| Constructor Detail |
public CobolConnectionSpec(String user,
String password,
String realm)
user - - usernamepassword - - passwordrealm - - realmpublic CobolConnectionSpec()
public CobolConnectionSpec(boolean statefulSession)
| Method Detail |
public void setStatefulSession(boolean aSession)
public boolean getStatefulSession()
public String getUser()
public String getPassword()
public String getRealm()
public int getAuthenticationMechanism()
public void setPassword(String password)
password - The password being set.public void setUser(String user)
user - The user name to be set.public void setRealm(String realm)
realm - The realm to be set.public void setAuthenticationMechanism(int authenticationMechanism)
authenticationMechanism - The authentication mechanism to be set.
Will be one of
USE_USERPWD
UNINITIALIZEDCopyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.