##### OpenJMS

- Overview
- Downloads
- Release Notes
- Getting Started
- User Guide
- Administrator Guide
  - Installation
  - Running OpenJMS
  - Configuration
    - Database
    - Connectors
    - JNDI
    - Connection Factories
    - Security
    - Destinations
    - Garbage Collection
    - Reference
- Developer Guide
- FAQ

##### Search OpenJMS

##### Project Documentation

- About
- Project Info
- Project Reports
- Development Process

##### Legend

- External Link
- Opens in a new window

## Overview

OpenJMS provides support for connection authentication, to ensure only valid users may connect to the server.

## Configuring Security

Security is configured in the $OPENJMS_HOME/config/openjms.xml file, via the <SecurityConfiguration> and <Users> elements. E.g:

      <SecurityConfiguration securityEnabled="true"/>

      <Users>
        <User name="admin" password="openjms"/>
        <User name="user1" password="password1"/>
        <User name="user2" password="password2"/>
      </Users>

In the above, security is enabled, and three users are registered: admin, user1 and user2

## See Also

The following references provide detailed descriptions of the configuration elements related to security:

- SecurityConfiguration
- Users