Author: buildbot
Date: Wed May 14 10:20:50 2014
New Revision: 908791

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/security.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/security.html
==============================================================================
--- websites/production/activemq/content/security.html (original)
+++ websites/production/activemq/content/security.html Wed May 14 10:20:50 2014
@@ -83,7 +83,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p>ActiveMQ 4.x and greater provides 
pluggable security through various different providers.</p><p>The most common 
providers are</p><ul><li><a shape="rect" class="external-link" 
href="http://java.sun.com/products/jaas/"; rel="nofollow">JAAS</a> for 
authentication</li><li>a default authorization mechanism using a simple XML 
configuration file.</li></ul><h3 
id="Security-Authentication">Authentication</h3><p>The default <a shape="rect" 
class="external-link" href="http://java.sun.com/products/jaas/"; 
rel="nofollow">JAAS</a> plugin relies on the standard JAAS mechanism for 
authentication. Refer to the <a shape="rect" class="external-link" 
href="http://java.sun.com/products/jaas/reference/docs/index.html"; 
rel="nofollow">documentation</a> for more detail.</p><p>Typically you configure 
JAAS using a config file like <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/login.config";>this
  one</a> and set the <strong>java.security.auth.login.config</strong> system 
property to point to it. If no system property is specified then by default the 
ActiveMQ JAAS plugin will look for <strong>login.config</strong> on the 
classpath and use that.</p><h4 
id="Security-AuthenticationExample">Authentication Example</h4><p>Here is an 
example <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/login.config";>login.config</a>
 which then points to these files</p><ul><li><a shape="rect" 
class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/security/users.properties";>users.properties</a></li><li><a
 shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/security/groups.properties";>groups.properties</a></li></ul><h4
 id="Security-SimpleAuthentic
 ationPlugin">Simple Authentication Plugin</h4><p>If you have modest 
authentication requirements (or just want to quickly set up your testing 
environment) you can use SimpleAuthenticationPlugin. With this plugin you can 
define users and groups directly in the broker's XML configuration. Take a look 
at the following snippet for example:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><p>ActiveMQ 4.x and greater provides 
pluggable security through various different providers.</p><p>The most common 
providers are</p><ul><li><a shape="rect" class="external-link" 
href="http://java.sun.com/products/jaas/"; rel="nofollow">JAAS</a> for 
authentication</li><li>a default authorization mechanism using a simple XML 
configuration file.</li></ul><h3 
id="Security-Authentication">Authentication</h3><p>The default <a shape="rect" 
class="external-link" href="http://java.sun.com/products/jaas/"; 
rel="nofollow">JAAS</a> plugin relies on the standard JAAS mechanism for 
authentication. Refer to the <a shape="rect" class="external-link" 
href="http://java.sun.com/products/jaas/reference/docs/index.html"; 
rel="nofollow">documentation</a> for more detail.</p><p>Typically you configure 
JAAS using a config file like <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/login.config
 ">this one</a> and set the <strong>java.security.auth.login.config</strong> 
system property to point to it. If no system property is specified then by 
default the ActiveMQ JAAS plugin will look for <strong>login.config</strong> on 
the classpath and use that.</p><h4 
id="Security-AuthenticationExample">Authentication Example</h4><p>Here is an 
example <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/login.config";>login.config</a>
 which then points to these files</p><ul><li><a shape="rect" 
class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/security/users.properties";>users.properties</a></li><li><a
 shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/security/groups.properties";>groups.properties</a></li></ul><h4
 id="Security-SimpleAut
 henticationPlugin">Simple Authentication Plugin</h4><p>If you have modest 
authentication requirements (or just want to quickly set up your testing 
environment) you can use SimpleAuthenticationPlugin. With this plugin you can 
define users and groups directly in the broker's XML configuration. Take a look 
at the following snippet for example:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;simpleAuthenticationPlugin&gt;
        &lt;users&gt;
                &lt;authenticationUser username=&quot;system&quot; 
password=&quot;manager&quot;
@@ -466,7 +466,7 @@ activemq.password=manager
   ..
 &lt;/broker&gt;
 ]]></script>
-</div></div><h2 
id="Security-ImplementingyourowncustomSecurityPlugin">Implementing your own 
custom Security Plugin</h2><p>All of the various security implementations are 
implemented as <a shape="rect" href="interceptors.html">Interceptors</a> so its 
very easy to add your own custom implementation. Its probably easier to start 
with one of the <a shape="rect" class="external-link" 
href="http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/security/package-summary.html";>simple
 implementations</a> though if you are using JAAS you could derive from the <a 
shape="rect" class="external-link" 
href="http://activemq.apache.org/maven/activemq-jaas/apidocs/";>JAAS 
implementation</a>.</p><h3 id="Security-ThirdPartyTools">Third Party 
Tools</h3><ul><li><a shape="rect" class="external-link" 
href="http://www.ttmsolutions.com/Apache_Software/ActiveMQ_LDAP_JDBC_Security_Plugins.php";
 rel="nofollow">ActiveMQ LDAP and JDBC Security Plugins from TTM 
Solutions</a></li></ul></div>
+</div></div><h2 
id="Security-ImplementingyourowncustomSecurityPlugin">Implementing your own 
custom Security Plugin</h2><p>All of the various security implementations are 
implemented as <a shape="rect" href="interceptors.html">Interceptors</a> so its 
very easy to add your own custom implementation. Its probably easier to start 
with one of the <a shape="rect" class="external-link" 
href="http://activemq.apache.org/maven/apidocs/org/apache/activemq/security/package-summary.html";>simple
 implementations</a> though if you are using JAAS you could derive from the <a 
shape="rect" class="external-link" 
href="http://activemq.apache.org/maven/apidocs/org/apache/activemq/jaas/package-summary.html";>JAAS
 implementation</a>.</p><h3 id="Security-ThirdPartyTools">Third Party 
Tools</h3><ul><li><a shape="rect" class="external-link" 
href="http://www.ttmsolutions.com/Apache_Software/ActiveMQ_LDAP_JDBC_Security_Plugins.php";
 rel="nofollow">ActiveMQ LDAP and JDBC Security Plugins from TTM 
Solutions</a></li>
 </ul></div>
         </td>
         <td valign="top">
           <div class="navigation">


Reply via email to