[jboss-user] [Security & JAAS/JBoss] - Re: Custom login-module and EJB
Wolfgang Knauf
do-not-reply at jboss.com
Wed Jan 14 09:10:08 EST 2009
Hi,
the error message says that your login module config was not found.
How is the structure of your EAR? As much as I know, the login module (code and config) must be placed in a .SAR (="service archive") file.
Best would be to create a standalone SAR archive and place it in the deploy folder.
If this does not work: I found this JBossIDE bugreport, which has the side effect to explain usage of SAR files in an EAR: https://jira.jboss.org/jira/browse/JBIDE-1104
According to this, you have to place the SAR file in the EAR file, and declare it in "jboss-app.xml":
...schema definition...
| <jboss-app>
| <security-domain>...</security-domain>
| <module>
| <service>mymodule.sar</service>
| </module>
| </jboss-app>
Hope this helps
Wolfgang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201794#4201794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201794
More information about the jboss-user
mailing list