activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Casey (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2454) New JAAS Authentication Module : GuestLoginModule
Date Thu, 15 Oct 2009 10:15:53 GMT
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.


Mime
View raw message