Class.forName("org.apache.jasper.compiler.JspRuntimeContext");
if (securityHandlerFactory == null) {
Permissions unchecked = new Permissions();
unchecked.add(new WebUserDataPermission("/", null));
unchecked.add(new WebResourcePermission("/", ""));
ComponentPermissions componentPermissions = new ComponentPermissions(new Permissions(), unchecked, Collections.<String, PermissionCollection>emptyMap());
applicationPolicyConfigurationManager = setUpJACC(Collections.<String, SubjectInfo>emptyMap(), Collections.<Principal, Set<String>>emptyMap(), componentPermissions, policyContextId);
LoginService loginService = newLoginService();
// final ServletCallbackHandler callbackHandler = new ServletCallbackHandler(loginService);
final Subject subject = new Subject();
final AccessControlContext acc = ContextManager.registerSubjectShort(subject, null, null);