/* 112 */ RequestCtx requestCtx = util.createXACMLRequest(this.ejbName, this.ejbMethod.getName(), this.principal, am.getUserRoles(this.principal));
/* */
/* 115 */ String contextID = PolicyContext.getContextID();
/* 116 */ if (contextID == null)
/* 117 */ throw new IllegalStateException("Context ID is null");
/* 118 */ Policy policy = (Policy)this.policyRegistration.getPolicy(contextID, null);
/* 119 */ if (policy == null)
/* */ {
/* 121 */ if (this.trace)
/* 122 */ log.trace("Policy obtained is null for contextID:" + contextID);
/* 123 */ throw new IllegalStateException("Missing xacml policy for contextid:" + contextID);