This tutorial addresses how to write and execute a simple Jacl script that can access and manage a JMX MBean. This particular script is concerned with calling roles when global security is enables. Using this script, you will be able to print out the role name for each role in a relationship.
This tutorial requires approximately 15-30 minutes to complete.
The location of the sample Jacl script is in <wbi_root>/samples/JMXSample/scripts. The name of the script is: RelServicesAdmin.jacl.
wsadmin -f ../samples/JMXSample/scripts/RelServicesAdmin.jacl -server servername -node nodename
This script will call up to 10 relationships in your environment and up to 10 roles for each relationship will be printed on the console.
Go to Exercise: Writing a Jacl script to learn how to write this .jacl script.
Parent topic: Securing applications and their environment
Last updated: Mon Mar 27 18:15:02 2006
(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)