You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "James Casey (JIRA)" <ji...@apache.org> on 2009/10/15 12:15:53 UTC

[jira] Updated: (AMQ-2454) New JAAS Authentication Module : GuestLoginModule

     [ https://issues.apache.org/activemq/browse/AMQ-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Casey updated AMQ-2454:
-----------------------------

    Attachment: guestloginmodule.patch

Patch against HEAD including tests.

> New JAAS Authentication Module : GuestLoginModule
> -------------------------------------------------
>
>                 Key: AMQ-2454
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2454
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.3.0
>            Reporter: James Casey
>         Attachments: guestloginmodule.patch
>
>
> This is a new JAAS module which will automatically return a single username, groupname to all requests for login.  It can be used in conjunction with other JAAS modules to give default guest credentials to all users who have no username/password specified.  E.g. the JAAS configuration below will login any user who presents good credentials that are in the Text file, and if not it will log them in with 'guest credentials' :
> activemq-domain {
>     org.apache.activemq.jaas.PropertiesLoginModule sufficient
>         debug=true
>         org.apache.activemq.jaas.properties.user="users.properties"
>         org.apache.activemq.jaas.properties.group="groups.properties";
>     org.apache.activemq.jaas.GuestLoginModule sufficient
>         debug=true
>         org.apache.activemq.jaas.guest.user="guest"
>         org.apache.activemq.jaas.guest.group="guests";
> };

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.