Examples of Bindto


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

        listener.setProductname("Sun Diameter");
        listener.setFirmwareRevision("1.0");
        listener.setMode("client");

        Bindto[] bindto = new Bindto[2];
        Bindto bindtoTCP = new Bindto();
        bindtoTCP.setPort("${DIAMETER_TCP_PORT}");
        bindtoTCP.setHost("${DIAMETER_TCP_ADDRESS}");
        bindtoTCP.setTransport("tcp");
        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");
        listener.setTctimer("10000");
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.