16.8 Using WLST To Configure Session Management

The following WLST commands can be used to configure for server-side (default) or client-side (cookie-based) session management.

16.8.1 displaySSOSessionType

Online and offline command that allows you to view the session management configuration.

Description

Allows you to view the session type configuration.

Syntax

displaySSOSessionType(domainHome="<domainHome>") 
Argument Definition
domainHome 

Specifies the location for the Weblogic Server OR Cell Path for WebSphere. This parameter is mandatory for WebSphere. When Offline, a value is mandatory; when online, optional.

Sample

displaySSOSessionType(domainHome="/oracle/product/OAM/domains/oam_domain")

16.8.1.1 Description

Allows you to view the session type configuration.

16.8.1.2 Syntax

displaySSOSessionType(domainHome="<domainHome>") 
Argument Definition
domainHome 

Specifies the location for the Weblogic Server OR Cell Path for WebSphere. This parameter is mandatory for WebSphere. When Offline, a value is mandatory; when online, optional.

16.8.1.3 Example

displaySSOSessionType(domainHome="/oracle/product/OAM/domains/oam_domain")

16.8.2 configSSOSessionType

Online and offline command that allows you to configure session management as COOKIE-BASED or DEFAULT.

Configure session management for Access Manager.

Syntax

configSSOSessionType(type="<ssoSessionType>",
  cookieDomain="<cookieDomain>",domainHome="<domainHome>")
Argument Definition
type

Specifies the type of session store. Accepted values are COOKIE_BASED or DEFAULT.

cookieDomain

Specifies the value of the SSO Session Timeout cookie domain.

domainHome 

Specifies the location for the Weblogic Server OR Cell Path for WebSphere. This parameter is mandatory for WebSphere. When Offline, a value is mandatory; when online, optional.

Examples

configSSOSessionType(type="COOKIE_BASED",cookieDomain-".example.com")

configSSOSessionType(type="COOKIE_BASED",cookieDomain-".example.com",
  domainHome="domainHome1")

configSSOSessionType(type="Default",cookieDomain=".example.com")

16.8.2.1 Description

Configure session management for Access Manager.

16.8.2.2 Syntax

configSSOSessionType(type="<ssoSessionType>",
  cookieDomain="<cookieDomain>",domainHome="<domainHome>")
Argument Definition
type

Specifies the type of session store. Accepted values are COOKIE_BASED or DEFAULT.

cookieDomain

Specifies the value of the SSO Session Timeout cookie domain.

domainHome 

Specifies the location for the Weblogic Server OR Cell Path for WebSphere. This parameter is mandatory for WebSphere. When Offline, a value is mandatory; when online, optional.

16.8.2.3 Examples

configSSOSessionType(type="COOKIE_BASED",cookieDomain-".example.com")

configSSOSessionType(type="COOKIE_BASED",cookieDomain-".example.com",
  domainHome="domainHome1")

configSSOSessionType(type="Default",cookieDomain=".example.com")