Enable Java 2 security using wsadmin
Using Jacl:
### Identify the security configuration object and assign it to the security variable... set security [$AdminConfig list Security] ### To enable $AdminConfig modify $security {{enforceJava2Security true}} ### To disable $AdminConfig modify $security {{enforceJava2Security false}} $AdminConfig save
Using Jython:
security = AdminConfig.list('Security') print security AdminConfig.modify(security, [['enforceJava2Security', 'true']]) AdminConfig.modify(security, [['enforceJava2Security', 'false']]) AdminConfig.save()