Sample scripts

This section lists some useful scripts to make the configuration more convenient for WebSphere.

Each script will show and teach something new with the scripting language, and at the end you will learn how to create your own scripts based on these. Remember that you can always refer to the InfoCenter for scripting references and more scripting samples.

Setting global security

The following script can enable or disable global security for the application server, depending on the parameter value passed to the interpreter. For more information on this script, check the comments in the source below.

Example D-2. globalsecurity.jacl
 # global security # usage: wsadmin globalsecurity.jacl [enable | disable] # store the pointer to the ...

Get IBM WebSphere V5.0 Security: WebSphere Handbook Series now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.