Package org.marketcetera.ors.security

This package contains classes to secure ORS JMS Message Broker access via users stored in a database.

See:
          Description

Interface Summary
Messages Messages
 

Class Summary
MultiSimpleUserQuery A query that fetches multiple instances of users.
ORSAdminCLI The CLI to manage users and password on ORS.
ORSLoginModule Login module that authenticates with users setup in ORS database This login module will only allow username, password combinations that are persisted in ORS via the SimpleUser instances.
SimpleUser A user that can logon to the message bus used by the system.
SingleSimpleUserQuery Fetches single instances of users.
 

Package org.marketcetera.ors.security Description

This package contains classes to secure ORS JMS Message Broker access via users stored in a database. It has objects to represent the user and query it from the database.

Components

A JAAS 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 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



Copyright © 2012. All Rights Reserved.