You can enable or disable Java 2 security with scripting and the
wsadmin tool.
About this task
Perform the following steps to enable or disable Java 2 security:
Procedure
- Identify the security configuration object and assign it to the
security variable:
Using Jacl:
set security [$AdminConfig list Security]
Using Jython:
security = AdminConfig.list('Security')
print security
Example output:
(cells/mycell|security.xml#Security_1)
- Modify the enforceJava2Security attribute to enable or disable
Java 2 security. For example:
- Save the configuration changes. See the Saving configuration changes with the wsadmin tool
article for more information.
- In a network deployment environment
only, synchronize the node. See the Synchronizing nodes with the wsadmin tool
article for more information.