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.
Security Options
Section titled “Security Options”The script presents the user with four security options for a JMS application:
- No Security
- JAAS (Java Authentication and Authorization Service)
- SSL (Secure Sockets Layer)
- JAAS with SSL
Based on the input, the script validates the chosen configuration and executes the corresponding function.
Step-by-Step Instructions
Section titled “Step-by-Step Instructions”-
Running the Script
- Open a terminal.
- Navigate to the
bin
directory . - Change the permissions to make the script executable by using the following command:
Terminal window chmod 500 jms-bridge-security-validator - Run the script using the following command:
Terminal window ./jms-bridge-security-validator
-
Selecting a Configuration
-
When the script runs, it displays the following options:
Terminal window 1. No Security2. JAAS3. SSL4. 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).
-
-
Input Validation
-
The script will handle valid inputs (1 to 4) as follows:
Input. Security Option Description 1 No Security Checks that no security is applied to the JMS configuration. 2 JAAS Validates JAAS settings. 3 SSL Validates SSL settings. 4 JAAS with SSL Validates 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.
-