Building and deploying a new Security Manager

Before you can use your custom Security Manager, you must deploy it to Studio. To do this, you generate a .jar file for it, then add the .jar file to the Studio .ear file.

To build and deploy a custom Security Manager:

  1. From the <securityManagerName>-mdexsecuritymanager directory you created for your new Security Manager, run the Ant build script.

    This generates a .jar file named <your-security-manager-name>-bddsecuritymanager.jar, and places it in the Security Manager project directory.

  2. Add the .jar file to the app-inf/lib directory within the deployed .ear file for Studio.
  3. Redeploy the .ear file.