Examples of Ssl


Examples of com.sun.enterprise.config.serverbeans.Ssl

            initContext.getConfigContext(), serverName);
        new ServerClientEnvSetter(certNickName).setup();
    }

    private Ssl initDefaultSslConfiguration() {
        Ssl ssl = new Ssl();
        ssl.setCertNickname(ServerHelper.DEFAULT_CERT_NICKNAME);
        ssl.setClientAuthEnabled(false);
        ssl.setSsl2Enabled(false);
        ssl.setSsl3Enabled(true);
        ssl.setTlsEnabled(true);
        ssl.setTlsRollbackEnabled(true);
        return ssl;
    }
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.Ssl

            JmxConnector connector = new JmxConnector();
            connector.setName(SYSTEM_CONNECTOR_NAME);
            connector.setAddress(host);
            connector.setPort(port);
            connector.setProtocol(protocol);           
            Ssl ssl = new Ssl();
            ssl.setCertNickname(KeystoreManager.CERTIFICATE_ALIAS);
            connector.setSsl(ssl);

            ElementProperty hostnameProperty = new ElementProperty();
            hostnameProperty.setName(HOST_PROPERTY_NAME);
            hostnameProperty.setValue(clientHostName);
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.Ssl

        String certNickname = null;
        JmxConnector con =
            ServerHelper.getServerSystemConnector(ctx, instanceName);
        if (con != null) {
            Ssl ssl = con.getSsl();
            if (ssl != null) {
                certNickname = ssl.getCertNickname();
            }
        }
        if (certNickname == null) {
            certNickname = DEF_CERT_ALIAS;
        }
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.Ssl

        bindto[0] = bindtoTCP;
        Bindto bindtoTLS = new Bindto();
        bindtoTLS.setPort("${DIAMETER_SSL_PORT}");
        bindtoTLS.setHost("${DIAMETER_SSL_ADDRESS}");
        bindtoTLS.setTransport("tls");
        Ssl ssl = new Ssl();
        ssl.setCertNickname("s1cs");
        ssl.setClientAuthEnabled(false);
        ssl.setSsl2Enabled(false);
        ssl.setSsl3Enabled(false);
        ssl.setTlsEnabled(true);
        ssl.setTlsRollbackEnabled(true);
        bindtoTLS.setSsl(ssl);
        bindto[1] = bindtoTLS;
        listener.setBindto(bindto);

        listener.setAcceptUnknownPeer("true");
View Full Code Here

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

            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

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

                        throw new IllegalStateException( "Invalid iiop-listener "
                            + ilb.getId()
                            + ". Lazy-init not supported for SSL iiop-listeners");
                    }

                    Ssl sslBean = ilb.getSsl() ;
                    assert sslBean != null ;

                    boolean clientAuth = Boolean.valueOf(
                        sslBean.getClientAuthEnabled() ) ;
                    String type = clientAuth ? SSL_MUTUALAUTH : SSL ;
                    addAcceptor( orb, isLazy, host, type, port ) ;
                }
            }
View Full Code Here

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

                    if (isLazy) {
                        throw new IllegalStateException("Invalid iiop-listener " + ilb.getId() +
                                ". Lazy-init not supported for SSL iiop-listeners");
                    }

                    Ssl sslBean = ilb.getSsl() ;
                    assert sslBean != null ;
                }
            }
        }
    }
View Full Code Here

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

    private void checkServerSSLOutboundSettings(Properties props) {
        if (iiopService != null) {
            SslClientConfig sslClientConfigBean =
                iiopService.getSslClientConfig();
            if (sslClientConfigBean != null) {
                Ssl ssl = sslClientConfigBean.getSsl();
                assert (ssl != null);
            }
        }
    }
View Full Code Here

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

                    if (isLazy) {
                        throw new IllegalStateException("Invalid iiop-listener " + ilb.getId() +
                                ". Lazy-init not supported for SSL iiop-listeners");
                    }

                    Ssl sslBean = ilb.getSsl() ;
                    assert sslBean != null ;
                }
            }
        }
    }
View Full Code Here

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

    private void checkServerSSLOutboundSettings(Properties props) {
        if (iiopService != null) {
            SslClientConfig sslClientConfigBean =
                iiopService.getSslClientConfig();
            if (sslClientConfigBean != null) {
                Ssl ssl = sslClientConfigBean.getSsl();
                assert (ssl != 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.