[jboss-cvs] JBoss Messaging SVN: r6262 - trunk/src/config.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 1 10:52:43 EDT 2009


Author: ataylor
Date: 2009-04-01 10:52:43 -0400 (Wed, 01 Apr 2009)
New Revision: 6262

Removed:
   trunk/src/config/login-config.xml
   trunk/src/config/ra.xml
Log:
moved stuff

Deleted: trunk/src/config/login-config.xml
===================================================================
--- trunk/src/config/login-config.xml	2009-04-01 14:46:36 UTC (rev 6261)
+++ trunk/src/config/login-config.xml	2009-04-01 14:52:43 UTC (rev 6262)
@@ -1,146 +0,0 @@
-<?xml version='1.0'?>
-
-<!-- The XML based JAAS login configuration read by the
-org.jboss.security.auth.login.XMLLoginConfig mbean. Add
-an application-policy element for each security domain.
-
-The outline of the application-policy is:
-<application-policy name="security-domain-name">
-  <authentication>
-    <login-module code="login.module1.class.name" flag="control_flag">
-      <module-option name = "option1-name">option1-value</module-option>
-      <module-option name = "option2-name">option2-value</module-option>
-      ...
-    </login-module>
-
-    <login-module code="login.module2.class.name" flag="control_flag">
-      ...
-    </login-module>
-    ...
-  </authentication>
-</application-policy>
-
-$Id: login-config.xml 76444 2008-07-29 23:50:53Z sguilhen at redhat.com $
-$Revision: 76444 $
--->
-
-<policy>
-  <!-- Used by clients within the application server VM such as
-  mbeans and servlets that access EJBs.
-  -->
-  <application-policy name="client-login">
-    <authentication>
-      <login-module code="org.jboss.security.ClientLoginModule"
-        flag="required">
-         <!-- Any existing security context will be restored on logout -->
-         <module-option name="restore-login-identity">true</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <!-- Security domains for testing new jca framework -->
-  <application-policy name="HsqlDbRealm">
-    <authentication>
-      <login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule"
-        flag="required">
-        <module-option name="principal">sa</module-option>
-        <module-option name="userName">sa</module-option>
-        <module-option name="password"></module-option>
-        <module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <application-policy name="JmsXARealm">
-    <authentication>
-      <login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule"
-        flag="required">
-        <module-option name="principal">guest</module-option>
-        <module-option name="userName">guest</module-option>
-        <module-option name="password">guest</module-option>
-        <module-option name="managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <!-- A template configuration for messaging. This
-    defaults to the UsersRolesLoginModule the same as other and should be
-    changed to a stronger authentication mechanism as required.
-  -->
-<application-policy name="messaging">
-    <authentication>
-      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-        flag="required">
-	<module-option name = "unauthenticatedIdentity">guest</module-option>
-        <module-option name="usersProperties">props/messaging-users.properties</module-option>
-        <module-option name="rolesProperties">props/messaging-roles.properties</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <!-- A template configuration for the jmx-console web application. This
-    defaults to the UsersRolesLoginModule the same as other and should be
-    changed to a stronger authentication mechanism as required.
-  -->
-  <application-policy name="jmx-console">
-    <authentication>
-      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-        flag="required">
-        <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
-        <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <!-- A template configuration for the web-console web application. This
-    defaults to the UsersRolesLoginModule the same as other and should be
-    changed to a stronger authentication mechanism as required.
-  -->
-  <application-policy name="web-console">
-    <authentication>
-      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-        flag="required">
-        <module-option name="usersProperties">web-console-users.properties</module-option>
-        <module-option name="rolesProperties">web-console-roles.properties</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <!--
-    A template configuration for the JBossWS security domain.
-    This defaults to the UsersRolesLoginModule the same as other and should be
-    changed to a stronger authentication mechanism as required.
-  -->
-  <application-policy name="JBossWS">
-    <authentication>
-      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-        flag="required">
-        <module-option name="usersProperties">props/jbossws-users.properties</module-option>
-        <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
-        <module-option name="unauthenticatedIdentity">anonymous</module-option>
-      </login-module>
-    </authentication>
-  </application-policy>
-
-  <!-- The default login configuration used by any security domain that
-  does not have a application-policy entry with a matching name
-  -->
-  <application-policy name="other">
-    <!-- A simple server login module, which can be used when the number
-    of users is relatively small. It uses two properties files:
-    users.properties, which holds users (key) and their password (value).
-    roles.properties, which holds users (key) and a comma-separated list of
-    their roles (value).
-    The unauthenticatedIdentity property defines the name of the principal
-    that will be used when a null username and password are presented as is
-    the case for an unuathenticated web client or MDB. If you want to
-    allow such users to be authenticated add the property, e.g.,
-    unauthenticatedIdentity="nobody"
-    -->
-    <authentication>
-      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-        flag="required"/>
-    </authentication>
-  </application-policy>
-
-</policy>

Deleted: trunk/src/config/ra.xml
===================================================================
--- trunk/src/config/ra.xml	2009-04-01 14:46:36 UTC (rev 6261)
+++ trunk/src/config/ra.xml	2009-04-01 14:52:43 UTC (rev 6262)
@@ -1,289 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id: ra.xml 76819 2008-08-08 11:04:20Z jesper.pedersen $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/j2ee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
-           http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
-           version="1.5">
-
-   <description>JBoss Messaging 2.0 Resource Adapter</description>
-   <display-name>JBoss Messaging 2.0 Resource Adapter</display-name>
-
-   <vendor-name>Red Hat Middleware LLC</vendor-name>
-   <eis-type>JMS 1.1 Server</eis-type>
-   <resourceadapter-version>1.0</resourceadapter-version>
-
-   <license>
-      <description>
- JBoss, Home of Professional Open Source.
- Copyright 2009, Red Hat Middleware LLC, and individual contributors
- as indicated by the @author tags. See the copyright.txt file in the
- distribution for a full listing of individual contributors.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-      </description>
-      <license-required>true</license-required>
-   </license>
-
-   <resourceadapter>
-      <resourceadapter-class>org.jboss.messaging.ra.JBMResourceAdapter</resourceadapter-class>
-      <config-property>
-         <description>The transport type</description>
-         <config-property-name>TransportType</config-property-name>
-         <config-property-type>java.lang.String</config-property-type>
-         <config-property-value>org.jboss.messaging.core.remoting.impl.invm.InVMConnectorFactory</config-property-value>
-      </config-property>
-      <config-property>
-         <description>The transport configuration. These values must be in the form of key:val:type;key:val:type; where type is Integer, String, Long or boolean</description>
-         <config-property-name>TransportConfiguration</config-property-name>
-         <config-property-type>java.lang.String</config-property-type>
-         <config-property-value>jbm.remoting.invm.serverid:0:Integer</config-property-value>
-      </config-property>
-       <config-property>
-        <description>Use XA methods to obtain connections?</description>
-        <config-property-name>UseXA</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value>true</config-property-value>
-      </config-property>
-      <config-property>
-        <description>The user name used to login to the JMS server</description>
-        <config-property-name>UserName</config-property-name>
-        <config-property-type>java.lang.String</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The password used to login to the JMS server</description>
-        <config-property-name>Password</config-property-name>
-        <config-property-type>java.lang.String</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <!--<config-property>
-         <description>The Backup transport type</description>
-         <config-property-name>BackUpTransportType</config-property-name>
-         <config-property-type>java.lang.String</config-property-type>
-         <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-         <description>The Backup transport configuration. These values must be in the form of key=val;key=val;</description>
-         <config-property-name>TransportConfiguration</config-property-name>
-         <config-property-type>java.lang.String</config-property-type>
-         <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The discovery group address</description>
-        <config-property-name>DiscoveryGroupAddress</config-property-name>
-        <config-property-type>java.lang.String</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The discovery group port</description>
-        <config-property-name>DiscoveryGroupPort</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The discovery refresh timeout</description>
-        <config-property-name>DiscoveryRefreshTimeout</config-property-name>
-        <config-property-type>java.lang.Long</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The discovery initial wait timeout</description>
-        <config-property-name>DiscoveryInitialWaitTimeout</config-property-name>
-        <config-property-type>java.lang.Long</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The load balancing policy class name</description>
-        <config-property-name>LoadBalancingPolicyClassName</config-property-name>
-        <config-property-type>java.lang.String</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The ping period</description>
-        <config-property-name>PingPeriod</config-property-name>
-        <config-property-type>java.lang.Long</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The connection TTL</description>
-        <config-property-name>ConnectionTTL</config-property-name>
-        <config-property-type>java.lang.Long</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The call timeout</description>
-        <config-property-name>CallTimeout</config-property-name>
-        <config-property-type>java.lang.Long</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The dups ok batch size</description>
-        <config-property-name>DupsOKBatchSize</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The transaction batch size</description>
-        <config-property-name>TransactionBatchSize</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The consumer window size</description>
-        <config-property-name>ConsumerWindowSize</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The consumer max rate</description>
-        <config-property-name>ConsumerMaxRate</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The send window size</description>
-        <config-property-name>SendWindowSize</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The producer max rate</description>
-        <config-property-name>ProducerMaxRate</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The min large message size</description>
-        <config-property-name>MinLargeMessageSize</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The block on acknowledge</description>
-        <config-property-name>BlockOnAcknowledge</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The block on non persistent send</description>
-        <config-property-name>BlockOnNonPersistentSend</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The block on persistent send</description>
-        <config-property-name>BlockOnPersistentSend</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The auto group</description>
-        <config-property-name>AutoGroup</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The max connections</description>
-        <config-property-name>MaxConnections</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The pre acknowledge</description>
-        <config-property-name>PreAcknowledge</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The retry interval</description>
-        <config-property-name>RetryInterval</config-property-name>
-        <config-property-type>java.lang.Long</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The retry interval multiplier</description>
-        <config-property-name>RetryIntervalMultiplier</config-property-name>
-        <config-property-type>java.lang.Double</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The maximum number of reconnect attempts</description>
-        <config-property-name>ReconnectAttempts</config-property-name>
-        <config-property-type>java.lang.Integer</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>Should clean server shutdown trigger failover?</description>
-        <config-property-name>FailoverOnServerShutdown</config-property-name>
-        <config-property-type>java.lang.Boolean</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>
-      <config-property>
-        <description>The client id</description>
-        <config-property-name>ClientID</config-property-name>
-        <config-property-type>java.lang.String</config-property-type>
-        <config-property-value></config-property-value>
-      </config-property>-->
-
-      <outbound-resourceadapter>
-         <connection-definition>
-            <managedconnectionfactory-class>org.jboss.messaging.ra.JBMManagedConnectionFactory</managedconnectionfactory-class>
-
-            <config-property>
-               <description>The default session type</description>
-               <config-property-name>SessionDefaultType</config-property-name>
-               <config-property-type>java.lang.String</config-property-type>
-               <config-property-value>javax.jms.Queue</config-property-value>
-            </config-property>
-            <config-property>
-               <description>Try to obtain a lock within specified number of seconds; less than or equal to 0 disable this functionality</description>
-               <config-property-name>UseTryLock</config-property-name>
-               <config-property-type>java.lang.Integer</config-property-type>
-               <config-property-value>0</config-property-value>
-            </config-property>
-
-            <connectionfactory-interface>org.jboss.messaging.ra.JBMConnectionFactory</connectionfactory-interface>
-            <connectionfactory-impl-class>org.jboss.messaging.ra.JBMConnectionFactoryImpl</connectionfactory-impl-class>
-            <connection-interface>javax.jms.Session</connection-interface>
-            <connection-impl-class>org.jboss.messaging.ra.JBMSession</connection-impl-class>
-         </connection-definition>
-         <transaction-support>XATransaction</transaction-support>
-         <authentication-mechanism>
-            <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
-            <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
-         </authentication-mechanism>
-         <reauthentication-support>false</reauthentication-support>
-      </outbound-resourceadapter>
-
-      <inbound-resourceadapter>
-         <messageadapter>
-            <messagelistener>
-               <messagelistener-type>javax.jms.MessageListener</messagelistener-type>
-               <activationspec>
-                  <activationspec-class>org.jboss.messaging.ra.inflow.JBMActivationSpec</activationspec-class>
-                  <required-config-property>
-                      <config-property-name>destination</config-property-name>
-                  </required-config-property>
-               </activationspec>
-            </messagelistener>
-         </messageadapter>
-      </inbound-resourceadapter>
-
-   </resourceadapter>
-</connector>




More information about the jboss-cvs-commits mailing list