JBoss Community

Re: Spring security and JBoss EAP 5.0

created by Kuntal Mondal in Snowdrop - View the full discussion

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,

Reply to this message by going to Community

Start a new discussion in Snowdrop at Community