![]() ![]() ![]() ![]() ![]() ![]() |
This section describes how to configure the behavior of and manage ongoing sessions:
See Reference: ApplicationSessions, for information on where to find the operations in the Administration Console and the name of the MBean.
You can configure whether or not to use sessions between applications and Network Gatekeeper. Sessions can be used for establishing site affinity when using geographical redundant sites.
The setting of Attribute: sessionRequired specifies if sessions are used or not.
When using sessions, the application must get a session from the Session Web Service prior to using the other application-facing interfaces. The application must also provide the session ID in all requests to the application-facing interfaces, except for requests to the Session Web Service.
A session has a unique ID. A session, once established, can have two states:
When a session is established it is always in state ACTIVE.
The age of the state ACTIVE of a session is older than a configurable time-interval, see Attribute: validityTime.
|
||
|
||
An application request to refresh the session using, depending on which session establishment mechanism being used, either:
|
||
The age of the state INVALID of a session is older than a configurable time-interval, see Attribute: expiryTime.
|
||
All operations are reachable from:
Below is a list of attributes and operations for ApplicationSessions:
Specifies the expiry time of sessions.
See About Sessions.
Specifies if sessions must be established prior to use the application-facing interfaces in Network Gatekeeper. See About Sessions.
Specifies the validity time of sessions.
See About Sessions.
Displays the number of established sessions filtered on:
countApplicationSessions(ApplicationIdentifier: String, ServiceProviderIdentifier: String)
Destroys an ongoing session using the ID of the session.
destroySession(SessionIdentifier: String)
Destroys the ongoing session using the ID of the application instance that established the session.
destroyApplicationInstanceSession(ApplicationInstanceIdentifier: String)
Destroys all ongoing session established by applications associated with a specific service provider /application account combination.
destroyApplicationSessions(ApplicationIdentifier: String, ServiceProviderIdentifier: String)
Destroys all ongoing session established by applications associated with a specific service provider account.
destroyServiceProviderSessions(ServiceProviderIdentifier: String)
Gets information about a session, active or invalid, using the ID of the application instance that established the session.
getApplicationInstanceSession(ApplicationInstanceIdentifier: String)
Gets information about a session, ongoing or invalid, using the ID of the session.
getCurrentSession(SessionIdentifier: String)
Displays a list of IDs for all sessions, ongoing or invalid, established by applications. Filters on:
listApplicationSessions(ApplicationIdentifier: String, ServiceProviderIdentifier: String, Offset: int, Size: int)
![]() ![]() ![]() |