This content has been marked as final.
Show 2 replies
-
1. Re: Spring security and JBoss EAP 5.0
mentus Jun 14, 2010 2:03 PM (in response to mentus)Solved.
I had to move my applicationContext-auth.xml into JBOSS_HOME/server/[config]/conf directory. Now, it works fine.
Cheers. -
2. Re: Spring security and JBoss EAP 5.0
jbossuser71 Nov 20, 2010 2:51 AM (in response to mentus)Hi Jan,
I am very new to JBoss. I am using JBoss 5.1 GA App server with Spring Security 3.
Can you pls. tell me what kind of configuration changes need to made in JBoss so that I can use Spring Security instead of JAAS?
My EAR deploys fine but when I try to access an EJB from web layer, I always get this error.
=====================
Caused by: java.lang.NullPointerException
at org.jboss.ejb3.security.helpers.EJBContextHelper.getCallerPrincipal(EJBContextHelper.java:99)
at org.jboss.ejb3.EJBContextImpl.getCallerPrincipal(EJBContextImpl.java:136)Thanks a lot in advance,