//decision of the realm base holds.
if (baseDecision && !ignoreJBossAuthorization)
{
Subject caller = this.establishSubjectContext(request.getPrincipal());
PolicyRegistration policyRegistration = getPolicyRegistration();
SecurityContext sc = SecurityAssociationActions.getSecurityContext();
Map<String, Object> contextMap = new HashMap<String, Object>();
contextMap.put(ResourceKeys.RESOURCE_PERM_CHECK, Boolean.TRUE);
contextMap.put(ResourceKeys.POLICY_REGISTRATION, policyRegistration);