[jboss-user] [JBoss Messaging] - Re: Exception during message publsih

desuraghu do-not-reply at jboss.com
Wed Jul 22 02:00:14 EDT 2009


In the destnation service.xml file I have added the following config for the topic.


      
        
      
      

In the message-service.xml file also i have specified the security conf in the follwing way:


        
            
        
      



In login-config.xml file:
<application-policy name = "messaging">
    	
    		<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>
    	
    </application-policy>

Added the mapping in user.properties and role.properties file.

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

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



More information about the jboss-user mailing list