[ https://issues.apache.org/activemq/browse/AMQ-1010?page=comments#action_37479 ] Dejan Bosanac commented on AMQ-1010: ------------------------------------
Now I see that I named the last attribute "group" instead of "groups" (which is more descriptive in this case). I'll provide a patch for this along with a piece of documentation for this feature during the following week. Thanks, Dejan > 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 > > > 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
