com.microfocus.cics.connector.cci.MFECIConnectionSpec
Serializable, javax.resource.cci.ConnectionSpec
public class MFECIConnectionSpec
extends Object
implements javax.resource.cci.ConnectionSpec, Serializable
See Also:
static int | NO_AUTHINFO |
static int | USE_USERPWD |
Method Summary | |
---|---|
int |
getAuthenticationMechanism()
Get authentication mechanism. |
String | getPassword()
Get password. |
String | getRealm()
Get realm. |
String | getSessionId() |
boolean | getStatefulSession()
Get the stateful session. |
String | getUser()
Get username. |
boolean | isTransactional() |
void | setAuthenticationMechanism(int authenticationMechanism)
Set authentication mechanism. |
void | setPassword(String password)
Set password |
void | setRealm(String realm)
Set realm. |
void | setSessionId(String sessionId) |
void | setStatefulSession(boolean aSession)
Set stateful session. |
void | setTransactional(boolean transactional) |
void | setUser(String user)
Set user name. |
public static final int USE_USERPWD
See Also:
public static final int NO_AUTHINFO
See Also:
public MFECIConnectionSpec()
Create a MFECIConnectionSpec instance.
public MFECIConnectionSpec(boolean statefulSession)
public MFECIConnectionSpec(boolean statefulSession, boolean transactional, String sessionID)
public MFECIConnectionSpec(boolean statefulSession, String sessionID)
public(String user, String password, String realm)
Create a MFECIConnectionSpec instance.
user | User name |
password | Password |
realm | Realm |
public int getAuthenticationMechanism()
Get authentication mechanism. Can be one of USE_USERPWD or NO_AUTHINFO.
public String getPassword()
Get the password required for the specified user name.
public String getRealm()
Get the realm.
public String getSessionId()
public boolean getStatefulSession()
Get the stateful session.
public String getUser()
Get the user name.
public boolean isTransactional()
public int setAuthenticationMechanism(int authenticationMechanism)
Set the authentication mechanism.
authenticationMechanism | The authentication mechanism to be set. One of USE_USERPWD or NO_AUTHINFO. |
public void setPassword (String password)
Set the password.
password | The password being set. |
public void setRealm (String realm)
Set the realm.
realm | The realm to be set. |
public void setSessionId (String sessionId)
public void setStatefulSession(boolean aSession)
Set stateful session.
statefulsession | The session type. |
public void setUser (String user)
Set the user name.
user | The user name to be set. |