Package com.sun.grizzly.config.dom

Examples of com.sun.grizzly.config.dom.Ssl


        // upgrade from v2, if the v2 instance had the ssl
        // sub-elements to the jmx-connector elements (in the admin-service )
        for (Config config : configs.getConfig()) {
            AdminService service = config.getAdminService();
            for( JmxConnector jmxConnector : service.getJmxConnector()){
                Ssl sslElement = jmxConnector.getSsl();
                if(sslElement != null) {
                    try {
                        ConfigSupport.apply(new SingleConfigCode<Ssl>() {
                            public Object run(Ssl ssl) throws PropertyVetoException,
                                    TransactionFailure {
View Full Code Here


    }

    private void populateSSLElement(Config config) {
        IiopService iiopService = config.getIiopService();
        for (IiopListener listener : iiopService.getIiopListener()) {
            Ssl sslElement = listener.getSsl();
            if (sslElement != null) {
                try {
                    ConfigSupport.apply(new SingleConfigCode<Ssl>() {
                        public Object run(Ssl ssl) throws PropertyVetoException,
                                TransactionFailure {
View Full Code Here

         *
         */
         final Config serverConfig;
         final NetworkConfig nc;
         final Protocol p;
         final Ssl ssl ;
         if ((serverConfig = configs.getConfigByName(SecureAdminUpgradeHelper.DAS_CONFIG_NAME)) == null) {
             return false;
         }

         if ((nc = serverConfig.getNetworkConfig()) == null) {
View Full Code Here

            if (webListener.getProtocol().equals("https")) {
                NetworkListener networkListener = networkConfig.getNetworkListener(listenerName);
                Protocol httpProtocol = networkListener.findHttpProtocol();
                ConfigSupport.apply(new SingleConfigCode<Protocol>() {
                    public Object run(Protocol param) throws TransactionFailure {
                        Ssl newSsl = param.createChild(Ssl.class);
                        populateSslElement(newSsl, listener);
                        param.setSsl(newSsl);
                        return newSsl;
                    }
                }, httpProtocol);
View Full Code Here

TOP

Related Classes of com.sun.grizzly.config.dom.Ssl

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.