Simplify SimpleAuthenticationPlugin Configuration
-------------------------------------------------

                 Key: AMQ-1010
                 URL: https://issues.apache.org/activemq/browse/AMQ-1010
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 4.1
            Reporter: Dejan Bosanac
             Fix For: 4.1
         Attachments: simple-auth.patch

In order to be useful, SimpleAuthenticationPlugin has to be easy to configure 
and well documented. I added some additional logic in order to make it play 
well with XBean. The patch also contains an additional class 
(AuthenticationUser) and the appropriate test suite.

The example configuration is as follows (taken from simple-auth-broker.xml):

                <simpleAuthenticationPlugin>
                        <users>
                                <authenticationUser username="system" 
password="manager"  group="users,admins"/>
                                <authenticationUser username="user" 
password="password"  group="users"/>
                                <authenticationUser username="guest" 
password="password"  group="guests"/>
                        </users>
                </simpleAuthenticationPlugin>

I will make a proper documentation for the "Security" page if this 
functionality ever gets committed in the repository.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to