[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

ataylor do-not-reply at jboss.com
Thu Apr 10 04:08:10 EDT 2008


since you are using DatabaseServerLoginModule for users and roles, check in th edatabase that the guest roles actually exist. alternatively use the file based login module i.e.
<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>
  | 

and creat the following files under conf/props:

messaging-roles.properties which should contain
guest=guest
and messaging-users.properties which should contain
guest=guest

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

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



More information about the jboss-user mailing list