I'm running tests against a remote JBoss AS 7.1.0.Final instance running in standalone configuration with a password-protected management interface. When I specify username and password in the container configuration as outlined in post https://community.jboss.org/message/721525, I get the following error:
java.lang.Exception: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"31e07e5d-2638-48d1-ac71-2136d8bda9ae.jar\".component.ExampleReaderBean.CREATEjboss.ejb3.statefulDefaultTimeout, jboss.ejb.cache.sfsb-default, jboss.ejb.remote-transactions-repositoryMissing[jboss.deployment.unit.\"31e07e5d-2638-48d1-ac71-2136d8bda9ae.jar\".component.ExampleReaderBean.CREATEjboss.ejb3.statefulDefaultTimeout, jboss.ejb.cache.sfsb-default, jboss.ejb.remote-transactions-repository]"]}
If I use an INCORRECT username:
java.lang.Exception: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"31e07e5d-2638-48d1-ac71-2136d8bda9ae.jar\".component.ExampleReaderBean.CREATEjboss.ejb3.statefulDefaultTimeout, jboss.ejb.cache.sfsb-default, jboss.ejb.remote-transactions-repositoryMissing[jboss.deployment.unit.\"31e07e5d-2638-48d1-ac71-2136d8bda9ae.jar\".component.ExampleReaderBean.CREATEjboss.ejb3.statefulDefaultTimeout, jboss.ejb.cache.sfsb-default, jboss.ejb.remote-transactions-repository]"]}
If I use a CORRECT username and INCORRECT password:
java.lang.Exception: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"31e07e5d-2638-48d1-ac71-2136d8bda9ae.jar\".component.ExampleReaderBean.CREATEjboss.ejb3.statefulDefaultTimeout, jboss.ejb.cache.sfsb-default, jboss.ejb.remote-transactions-repositoryMissing[jboss.deployment.unit.\"31e07e5d-2638-48d1-ac71-2136d8bda9ae.jar\".component.ExampleReaderBean.CREATEjboss.ejb3.statefulDefaultTimeout, jboss.ejb.cache.sfsb-default, jboss.ejb.remote-transactions-repository]"]}
Clearly, I'm not authenticating properly.
What are the specific steps to allow for authentication into a remote JBoss instance? Also, are there any special considerations for creating users?