app.setAttribute("defaultPrincipal", defaultPrincipal);
app.setAttribute("checkedPermissions", checked);
app.setAttribute("excludedPermissions", componentPermissions.getExcludedPermissions());
app.setReferencePattern("RoleDesignateSource", jaccBeanName);
FormAuthenticator formAuthenticator = new FormAuthenticator();
formAuthenticator.setLoginPage("/auth/logon.html?param=test");
formAuthenticator.setErrorPage("/auth/logonError.html?param=test");
app.setAttribute("realmName", "Test JAAS Realm");
app.setAttribute("authenticator", formAuthenticator);
app.setAttribute("policyContextID", "TEST");
app.setAttribute("uri", URI.create("war3/"));
app.setAttribute("componentContext", Collections.EMPTY_MAP);