I'm trying for the sake of testing to use the default login module, and cannot 
get it to work.  From my client, I'm getting:

  | 2006-04-28 14:33:42,293 WARN  [inbound] An exception occurred on the server 
side when making remote invocation.  The exception returned from server does 
not include a stack trace.  Original server side exception message is User jms 
is NOT authenticated
  | javax.jms.JMSSecurityException: User jms is NOT authenticated
  | 
The server doesn't log anything.
I added the security domain to my "login-config.xml" per the readme included 
with Messaging.

My messaging-users.properties:

  | # A sample users.properties file for use with the UsersRolesLoginModule
  | admin=admin
  | jms=jms
  | 
My messaging-roles.properties:

  | # A sample roles.properties file for use with the UsersRolesLoginModule
  | admin=JBossAdmin,HttpInvoker
  | jms=discon
  | 
My test queue I'm trying to send to:

  | <?xml version="1.0" encoding="UTF-8"?>
  |  <server>
  |    <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
  |      
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
  |    </loader-repository>
  |    <mbean code="org.jboss.jms.server.destination.Queue"
  |           name="jboss.messaging.destination:service=Queue,name=99999"
  |           xmbean-dd="xmdesc/Queue-xmbean.xml">
  |       <depends 
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  |       <attribute name="SecurityConfig">
  |          <security>
  |            <role name="discon" read="true" write="true" create="true"/>
  |          </security>
  |       </attribute>
  |    </mbean>
  |  </server>
  | 

I can successfully send messages if I set the role for my queue to "guest", but 
not if I set it to my defined role.

TIA.


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to