Java Client API Reference 6.0.2.61

com.ssaglobal.bde
Interface IUserSession


public interface IUserSession

Usersession interface, for adding user login properties to the Manager. This enables security and activation features. IUsersession can be created by BdeToolkit


Method Summary
 void addManager(BdeManager bdeManager)
          Adds a manager to this UserSession.
 void enableLicenseOverride(java.lang.String p_key)
          Enables the License Override Mechanism
 void enableLicenseOverrideWithId(java.lang.String p_key, int p_licenseId)
          Enables the License Override Mechanism, providing an override license
 java.lang.String getUserName()
          Gets the name of the user out of the UserSession.
 

Method Detail

addManager

public void addManager(BdeManager bdeManager)
                throws BdeException
Adds a manager to this UserSession. When a manager is added to an UserSession it can be initialized with an Buscomponent With Activation Enabled. When multiple managers are added to the same UserSession and they are initialized with the same backend, the pooling algorithm specified in the BusComponent is used.
Parameters:
bdeManager - The BdeManager to be added.
Throws:
BdeException - if BdeManager is already in a UserSession, or Manager is null.

enableLicenseOverride

public void enableLicenseOverride(java.lang.String p_key)
Enables the License Override Mechanism
Parameters:
p_key - The license override key

enableLicenseOverrideWithId

public void enableLicenseOverrideWithId(java.lang.String p_key,
                                        int p_licenseId)
Enables the License Override Mechanism, providing an override license
Parameters:
p_key - The license override key
p_licenseId - The Server license to be obtained at the server side

getUserName

public java.lang.String getUserName()
Gets the name of the user out of the UserSession.
Returns:
The username

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.