Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following steps to enable or disable Java 2 security:
Steps for this task
Using Jacl:
set security [$AdminConfig list Security]
security = AdminConfig.list('Security') print security
(cells/mycell|security.xml#Security_1)
To enable Java 2 security:
Using Jacl:
$AdminConfig modify $security {{enforceJava2Security true}}
AdminConfig.modify(security, [['enforceJava2Security', 'true']])
To disable Java 2 security:
Using Jacl:
$AdminConfig modify $security {{enforceJava2Security false}}
AdminConfig.modify(security, [['enforceJava2Security', 'false']])
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object