login Supported in On-premises modeSupported in Lease modeSupported in Connected (Cloud LM) mode

Interface Information

>This API belongs to SentinelLicensing.jar.

>The corresponding library is Sentinel RMS licensing library.

Description

The basic API function to log into a feature and establish a session context.

Syntax

void login(ApplicationContext appCtx, String featureName)

Parameters

Parameter Description
appCtx [in] The application context object.
featureName [in] Name of the feature.

Exception Handling

If unsuccessful, throws LicensingException or UnsupportedEncodingException.