I did try to find similar posts before posting this one and came up with:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=63621
and
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=43891

The first seems to be exactly the same problem as I am having but nobody has 
answered that one.
The latter is very interesting where you say that anonymous wrote : The purpose 
of the JmsXARealm is to provide a user/password when you do 
TopicConnectionFactory.createTopicConnection(); 
  | By default it provides guest/guest
However, I am using tcf.createTopicConnection(username, password)
Also, the guy is trying to use the username/password of the caller of the 
session bean, where I am not trying to do that at all. I am picking up username 
and password from env-entry in ejb-jar so I am thinking that I definitely do 
not need CallerIdentityLoginModule.

I also found http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72684
but I am using either:
    <application-policy name = "jbossmq">
  |        <authentication>
  |           <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
  |              flag = "required">
  |              <module-option name = 
"unauthenticatedIdentity">guest</module-option>
  |              <module-option name = 
"sm.objectname">jboss.mq:service=StateManager</module-option>
  |           </login-module>
  |        </authentication>
  |     </application-policy>
  | 
or

  |     <application-policy name = "jbossmq">
  |        <authentication>
  |           <login-module code = 
"org.jboss.security.auth.spi.DatabaseServerLoginModule"
  |              flag = "required">
  |              <module-option name = 
"unauthenticatedIdentity">guest</module-option>
  |              <module-option name = 
"dsJndiName">java:/BlueEventDS</module-option>
  |              <module-option name = "principalsQuery">SELECT PASSWD FROM 
JMS_USERS WHERE USERID=?</module-option>
  |              <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM 
JMS_ROLES WHERE USERID=?</module-option>
  |           </login-module>
  |        </authentication>
  |     </application-policy>
  | 

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to