[ https://issues.apache.org/activemq/browse/AMQ-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dejan Bosanac reopened AMQ-1010: -------------------------------- Patch that changes "group" property into "groups" and fixed some minor bugs in the test class. I would recommend this change since it's more logical and compliant to JAAS syntax. Wiki has been changed to document this plugin (with this change included) > 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.0 > Reporter: Dejan Bosanac > Assigned To: Jonas Lim > Fix For: 4.2.0 > > Attachments: simple-auth.patch, simpleauthenticationplugin.txt > > > 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