[jboss-user] [JBoss Messaging] - Re: Problem with JEMS JMS install: User is NOT authenticated

ataylor do-not-reply at jboss.com
Thu Feb 28 02:47:08 EST 2008


Can you confirm that you have the following files under conf/props:

messaging-roles.properties
messaging-users.properties

These define the security for messaging, they should contain something like:

#
  | # user=role1,role2,...
  | #
  | guest=guest

and
#
  | # user=password
  | #
  | guest=guest

also check the login-config.xml file to make sure it contains the correct application policy:

<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>

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

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



More information about the jboss-user mailing list