/* */ try
/* */ {
/* 850 */ String unprefixed = SecurityUtil.unprefixSecurityDomain(confSecurityDomain);
/* 851 */ log.debug("Setting security domain from: " + confSecurityDomain);
/* 852 */ String domainCtx = "java:/jaas/" + unprefixed + "/domainContext";
/* 853 */ SecurityDomainContext sdc = (SecurityDomainContext)iniCtx.lookup(domainCtx);
/* 854 */ Object securityMgr = sdc.getSecurityManager();
/* */
/* 857 */ AuthenticationManager ejbS = (AuthenticationManager)securityMgr;
/* 858 */ RealmMapping rM = (RealmMapping)securityMgr;
/* 859 */ container.setSecurityManager(ejbS);
/* 860 */ container.setRealmMapping(rM);