Can WLST Be Used To Set AuthCookie Attribute For Server Wide Switch? (Doc ID 2297268.1)

Last updated on AUGUST 28, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Goal

It has been asked if WLST may be used to set Auth cookie enabled parameter (server wide). Getting the following error when trying:

java.lang.RuntimeException: java.lang.RuntimeException: The requested attribute is not exposed through JMX: setAuthCookieEnabled
wls:/base_domain/serverConfig/Servers/AdminServer> cmo.getWebServer().setAuthCookieEnabled(false)
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms