activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-982) Authentication Example should be improved
Date Tue, 24 Apr 2007 09:07:34 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39040
] 

james strachan commented on AMQ-982:
------------------------------------

Thanks for this Ali, its awesome!

BTW the entire website is a wiki so you can edit or add any information there directly...

http://activemq.apache.org/how-does-the-website-work.html
http://activemq.apache.org/how-do-i-edit-the-website.html

do you fancy adding your documentation changes directly to the wiki? You'll then get more
credit for your work as you'll be seen as the contributor to the documentation. You can attach
files to wiki pages too

> Authentication Example should be improved
> -----------------------------------------
>
>                 Key: AMQ-982
>                 URL: https://issues.apache.org/activemq/browse/AMQ-982
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 4.0.1
>         Environment: Windows XP Professional, JDK 1.4.2_12
>            Reporter: Ali Sadik Kumlali
>         Attachments: AuthenticationExampleConf.zip
>
>
> Hi,
> At http://www.activemq.org/site/security.html page, there is no enough info for authention
example. For example, there is mention where to put user.properties.
> Following info should be mixed with the current info found in the site. Provided attachment
contains all the necessary files that supports following 
> -----------------------------
> Assumption
> - ACTIVEMQ_HOME=d:\activemq-4.0.1
> Requirements
> - Downloading activemq-jaas-x.x.x.jar and putting under %ACTIVEMQ_HOME%\lib. For 4.0.1,
we used activemq-jaas-4.0.1.jar[1].    
> - Adding jaas authentication plugin[2] to %ACTIVEMQ_HOME%\conf\activemq.xml
> - Putting login.config into %ACTIVEMQ_HOME%\conf
> - Putting users.properties and  groups.properties into %ACTIVEMQ_HOME%\conf\org\apache\activemq\security
> - Changing Line 61 of %ACTIVEMQ_HOME%\example\src\ToolSupport.java to following:
>     Connection connection = connectionFactory.createConnection("user", "password");
>   P.S: Providing an overloading method would be better: createConnection(String username,
String password)
> Running Example
> - Start ActiveMQ up by running %ACTIVEMQ_HOME%\bin\activemq.bat
> - Start consumer by running 'ant consumer' command under %ACTIVEMQ_HOME%\example
> - Start producer by running 'ant producer' command under %ACTIVEMQ_HOME%\example
> [1] http://people.apache.org/repository/incubator-activemq/jars/activemq-jaas-4.0.1.jar
> [2]  activemq.xml
>       <broker>
>        ...
>        <plugins>
>           <!--  use JAAS to authenticate using the login.config file on the classpath
to configure JAAS -->
>           <jaasAuthenticationPlugin configuration="activemq-domain" />
>        </plugins>
>     </broker>

-- 
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