Package org.jboss.security.plugins

Examples of org.jboss.security.plugins.SecurityDomainContext


/*      */       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);
View Full Code Here

TOP

Related Classes of org.jboss.security.plugins.SecurityDomainContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.