This content has been marked as final.
Show 2 replies
-
1. Re: Explicit LoginModule dependencies?
ulmangt Feb 12, 2010 6:31 PM (in response to ulmangt)I should add that my current workaround is to have my datasource's initialize method simply wait in a loop, doing a JNDI lookup every few seconds, until JBoss gets around to binding the datasource to a JNDI name.
This doesn't seem like a very clean approach. Is it a hack, or is there no other way to accomplish what I'm after?
-
2. Re: Explicit LoginModule dependencies?
wolfgangknauf Feb 15, 2010 8:05 AM (in response to ulmangt)Hi,
how did you declare your login module?
If you use the "JBoss beans" approach introduced in JBoss 5, a "depends" should be possible:
{url}http://server.dzone.com/articles/security-features-jboss-510{url}
The "old" way of using "login-config.xml" does not provide this ability.
Hope this helpsWolfgang