Creating a new Security Manager

The Studio SDK includes Windows and Linux batch scripts for creating a new Security Manager.

To create a new Security Manager project:

  1. From the Studio Media Pack for Windows or Linux, download the Studio SDK.
  2. Unzip the Studio SDK file into a separate directory.
  3. In a terminal, change your directory to the endeca-extensions directory within the Studio SDK's root directory (normally called components).
  4. Run one of the following commands:
    • On Windows: .\create-mdexsecuritymanager.bat <your-security-manager-name>
    • On Linux: ./create-mdexsecuritymanager.sh <your-security-manager-name>
    This command creates a your-security-manager-name directory under endeca-extensions. This directory is an Eclipse project that you can import directly into Eclipse, if you use Eclipse as your IDE.

    This directory also contains a sample implementation that you can use to help understand how the Security Manager can be used. The sample implementation is essentially identical to the default implementation of the Security Manager used by Studio.