This content has been marked as final.
Show 1 reply
-
1. Re: Database login-module
vintubr Apr 24, 2014 8:19 AM (in response to jjakub)Hi,
As you did not post the error you faced, I am going to put some suggestions for you to check:
In your standalone.xml, improve: org.jboss.security log messages:
<subsystem xmlns="urn:jboss:domain:logging:1.3"> ... <logger category="org.jboss.security"> <level name="TRACE"/> </logger> ... </subsystem>
Restart JBoss and check server.log file for messages.
Try to add the realm in the standalone.xml:
<management> <security-realms> <security-realm name="mysqldomain"> <authentication> <jaas name="mysqldomain"/> </authentication> </security-realm> </security-realms> ... </management>
In your: jboss-web.xml, change the security-domain to:
<security-domain>mysqldomain</security-domain>
I hope it helps you to solve your problem.
Regards.