Examples of JBossSecurityMgrRealm


Examples of org.jboss.web.tomcat.security.JBossSecurityMgrRealm

          + ":type=Engine"), null);
      if (engines.size() == 0) {
        StandardEngine engine = new StandardEngine();
       
        //Add JBossSecurityMgrRealm
        JBossSecurityMgrRealm realm = new JBossSecurityMgrRealm();
        realm.setCertificatePrincipal("org.jboss.security.auth.certs.SubjectDNMapping");
        realm.setAllRolesMode("authOnly");
               
        engine.setRealm(realm);
        Registry.getRegistry().registerComponent(realm,
            new ObjectName(DOMAIN_NAME + ":type=Realm"), null);
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.