establishSubjectContext(requestPrincipal);
Map<String, Object> map = new HashMap<String, Object>();
map.put("securityConstraints", constraints);
map.put(ResourceKeys.USERDATA_PERM_CHECK, Boolean.TRUE);
SecurityContext sc = SecurityAssociationActions.getSecurityContext();
AbstractWebAuthorizationHelper helper = null;
try
{
helper = SecurityHelperFactory.getWebAuthorizationHelper(sc);
}