Community

Spring security and JBoss EAP 5.0

created by Jan Kowalski in Spring Integration - View the full discussion

Hello everyone,

I'm migrating my J2EE application from JBoss 4.2.2 under JBoss EAP 5.0.
I'm using the same configuration spring security, in my login-config.xml is:

<application-policy name="my_app">
     <authentication>
     <login-module code="org.acegisecurity.adapters.jboss.JbossAcegiLoginModule" flag="required">
          <module-option name = "appContextLocation">WEB-INF/applicationContext-auth.xml</module-option>
          <module-option name="key">password</module-option>
     </login-module>                    
     </authentication>
</application-policy>

and when I try login to application, I don't have any exceptions, only report:

14:19:53,916 INFO  [JbossAcegiLoginModule] initializing jboss login module
14:19:53,917 INFO  [JbossAcegiLoginModule] cannot locate WEB-INF/applicationContext-auth.xml

But my applicationContext-auth.xml there is in  WEB-INF directory :-/
Anyone of you use spring seciurity under JBoss EAP 5.0?

Thanks for your help.

Reply to this message by going to Community

Start a new discussion in Spring Integration at Community