Hi Peter. How do I set the user I am trying to connect as? Is this something set in the properties for the Initial Context? If so, what parameter?
Thanks, Steve Peter Antman wrote: > Hi, if you have done no other changes to the JBoss setup this would > require that the user named "user" with the password hrnexus is in > jboss-state.xml. It should look something like this (from > server/default/conf in current build): > > <StateManager> > <Users> > <User> > <Name>john</Name> > <Password>needle</Password> > <Id>DurableSubscriberExample</Id> > </User> > <User> > <Name>guest</Name> > <Password>guest</Password> > </User> > <User> > <Name>nobody</Name> > <Password>nobody</Password> > </User> > <User> > <Name>dynsub</Name> > <Password>dynsub</Password> > </User> > <!-- Your user added --> > <User> > <Name>user</Name> > <Password>hrnexus</Password> > </User> > </Users> > > Depending on your restrictions on the destinations the user must belongs > to a role having the correct access rights to the destination. By > default guest have read and write access: > > <Roles> > <Role name="guest"> > <UserName>guest</UserName> > <UserName>john</UserName> > <!-- you user added --> > <UserName>user</UserName> > </Role> > > If you have reconfigured the security domian jbossmq in auth.conf to use > your own user storage you will have to check that all setups are really > done correct. > > Remember that it is now actually possible to dynamically manage users > and roles from the HTML Mbean interface to the DynamicStateManager > (remember to invoke saveConf() to persist the changes. > -- Stephen Davidson Java Consultant Delphi Consultants, LLC http://www.delphis.com Phone: 214-696-6224 x208 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user