I am get a null on the lookup for
| InitialContext iniCtx = new InitialContext();
| securityCtx = (Context) iniCtx.lookup("java:comp/env/security");
|
I think the issue is that during the ENC setup, the class loader should be
WebCtxLoader.getClassLoader and not "loader" (I am not sure if this applies to
all cases - when using Jboss web loader or tomcat loader)
A test case that you can check is:
| ant -Dtest=org.jboss.test.security.test.WebConstraintsUnitTestCase one-test
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986398#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...