Thanks for the link.  It looks like CallerIdentityLoginModule would do what I 
need though combining that with my existing UsersRolesLoginModule is netting 
the same results.

version:  4.0.1RC1


destinations (note, I left out a couple '>' chars for this posting as they were 
causing the text not to show up in Preview.   They are proper in the JBoss 
config file and validate successfully):

<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=jms/MY_REQUEST_QUEUE"<depends 
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
 </depends

<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=jms/MY_RESPONSE_QUEUE"<depends 
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
 </depends


conn factory:

<tx-connection-factory>
<jndi-name>jms/MY_QUEUE_FACTORY</jndi-name>
<xa-transaction/>
<rar-name>jms-ra.rar</rar-name>
<connection 
definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
<config-property name="SessionDefaultType" 
type="java.lang.String">javax.jms.Queue</config-property>
<config-property name="JmsProviderAdapterJNDI" 
type="java.lang.String">java:/DefaultJMSProvider
</config-property>
<config-property name="Strict" type="java.lang.Boolean">false</config-property>
<max-pool-size>20</max-pool-size>
<security-domain-and-application>myPolicy</security-domain-and-application>
</tx-connection-factory>


Here is my latest from login.xml:

<application-policy name="myPolicy">

<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" 
flag="sufficient"/>
<login-module code = "org.jboss.resource.security.CallerIdentityLoginModule" 
flag = "sufficient">
<module-option name = "userName">sa</module-option>
<module-option name = "password"></module-option>
 <module-option name = 
"managedConnectionFactoryName">jboss.jca:service=TxCM,name=jms/MY_QUEUE_FACTORY</module-option>
 </login-module>

</application-policy>





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864400#3864400

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864400


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to