/* 318 */ return aPolicy.getAuthorizationInfo();
/* */ }
/* */
/* */ private AuthorizationInfo getAuthorizationInfo(ResourceType layer)
/* */ {
/* 323 */ AuthorizationInfo ai = null;
/* */
/* 325 */ if (layer == ResourceType.EJB) {
/* 326 */ ai = SecurityConfiguration.getApplicationPolicy("jboss-ejb-policy").getAuthorizationInfo();
/* */ }
/* 328 */ else if (layer == ResourceType.WEB) {
/* 329 */ ai = SecurityConfiguration.getApplicationPolicy("jboss-web-policy").getAuthorizationInfo();
/* */ }
/* */ else {
/* 332 */ if (log.isTraceEnabled())
/* 333 */ log.trace("AuthorizationInfo not found. Providing default authorization info");
/* 334 */ ai = new AuthorizationInfo("other");
/* 335 */ ai.add(new AuthorizationModuleEntry(DelegatingAuthorizationModule.class.getName()));
/* */ }
/* 337 */ return ai;
/* */ }