/* */
/* 174 */ EJBAuthorizationHelper helper = new EJBAuthorizationHelper(sc);
/* 175 */ boolean isAuthorized = helper.authorize(this.ejbName, mi.getMethod(), sc.getUtil().getUserPrincipal(), iface, this.ejbCS, sc.getUtil().getSubject(), callerRunAs, methodRoles);
/* */
/* 183 */ if (!isAuthorized)
/* 184 */ throw new EJBAccessException("Caller unauthorized");
/* */ }
/* 186 */ sc = invocation.invokeNext();
/* */ }
/* */ catch (SecurityException throwable)
/* */ {
/* */ SecurityContext sc;
/* 190 */ log.debug("Authorization failure", throwable);
/* 191 */ throw new EJBAccessException("Authorization failure");
/* */ }
/* */ finally {
/* */ }
/* */ }