[jboss-user] [Spring Integration] - Spring security and JBoss EAP 5.0

Jan Kowalski do-not-reply at jboss.com
Wed Jun 9 08:52:42 EDT 2010


Jan Kowalski [http://community.jboss.org/people/Mentus] created the discussion

"Spring security and JBoss EAP 5.0"

To view the discussion, visit: http://community.jboss.org/message/547065#547065

--------------------------------------------------------------
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
[http://community.jboss.org/message/547065#547065]

Start a new discussion in Spring Integration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100609/f71af91e/attachment-0001.html 


More information about the jboss-user mailing list