Examples of IIOPTransportSpec


Examples of org.apache.geronimo.corba.ior.IIOPTransportSpec

                    for (int j = 0; j < secmeclist.getMechanismCount(); j++) {

                        CompoundSecurityMechanism mech = secmeclist
                                .getSecurityMechanism(j);

                        IIOPTransportSpec pt = null;
                        switch (mech.getTransportTag()) {
                            case TAG_SSL_SEC_TRANS.value:
                            case TAG_TLS_SEC_TRANS.value:
                                try {
                                    pt = profile.getInetTransport();
                                }
                                catch (UnknownHostException e) {
                                    // ignore //
                                }
                                IIOPTransportSpec[] transports = mech.getTransports(pt
                                        .getAddress(), profile.getVersion());
                                for (int k = 0; k < transports.length; k++) {
                                    addProfile(profs, profile, transports[k]);
                                }

                                if (pt != null && pt.getPort() != 0) {
                                    IIOPTransportSpec it = new IIOPTransportSpec(
                                            profile.getVersion(),
                                            pt.getSocketAddress(), mech);
                                    addProfile(profs, profile, it);
                                    add_default_profile = false;
                                }
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.