Package org.jboss.web.tomcat.security

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

Related Classes of org.jboss.web.tomcat.security.JBossSecurityMgrRealm

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.