Skip to content

Security Validation

This page provides instructions for using the JMS security configuration script, which allows you to select and validate your desired security options for a JMS configuration.


The script presents the user with four security options for a JMS application:

  1. No Security
  2. JAAS (Java Authentication and Authorization Service)
  3. SSL (Secure Sockets Layer)
  4. JAAS with SSL

Based on the input, the script validates the chosen configuration and executes the corresponding function.


  1. Running the Script

    1. Open a terminal.
    2. Navigate to the bin directory .
    3. Change the permissions to make the script executable by using the following command:
      Terminal window
      chmod 500 jms-bridge-security-validator
    4. Run the script using the following command:
      Terminal window
      ./jms-bridge-security-validator
  2. Selecting a Configuration

    • When the script runs, it displays the following options:

      Terminal window
      1. No Security
      2. JAAS
      3. SSL
      4. JAAS with SSL
    • Input Prompt: The script will prompt you:

      Terminal window
      Enter your choice (1-4):
    • Enter the number corresponding to your desired security option (1, 2, 3, or 4).

  3. Input Validation

    • The script will handle valid inputs (1 to 4) as follows:

      Input.Security OptionDescription
      1No SecurityChecks that no security is applied to the JMS configuration.
      2JAASValidates JAAS settings.
      3SSLValidates SSL settings.
      4JAAS with SSLValidates JAAS and SSL for enhanced security.
    • If you enter a value outside this range, the script will display:

      Terminal window
      Invalid option. Please enter a number between 1 and 4.
    • You will need to re-run the script and provide a valid input.