! This package contains classes to secure ORS JMS Message Broker access via users stored in a database. It has objects to represent the {@link org.marketcetera.ors.security.SimpleUser user} and {@link org.marketcetera.ors.security.SingleSimpleUserQuery query} it from the database.

Components

A JAAS {@link org.marketcetera.ors.security.ORSLoginModule login module} is provided that can be configured within ActiveMQ configuration such that it authenticates the user identity based on the users stored in the database.

The {@link org.marketcetera.ors.security.ORSAdminCLI} is a command line tool to manage the users stored in the database. It provides commands to list, add & delete users and to change password.

CLI Syntax

Here's the CLI usage syntax
usage: orsadmin -u <login> -p <password> --listUsers
                orsadmin -u <login> -p <password> --addUser -n <user name>  -w <user password>
                orsadmin -u <login> -p <password> --deleteUser -n <user name>
                orsadmin -u <login> -p <password> --changePassword -w <user password>  [-n <user name> ]
Options:
       --addUser                     Add a new user
       --changePassword              Change Password
       --deleteUser                  Delete User
       --listUsers                   List all users
    -n,--username <user name>        Name of user being operated on
    -p <password>                    password of the user running the CLI
    -u <login>                       user name of the user running the CLI
    -w,--password <user password>    Password of user being operated on