The following WLST commands can be used to configure for server-side (default) or client-side (cookie-based) session management.
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")
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. |
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")
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. |