Package org.apache.geronimo.corba.ior

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


                    SecurityMechanismListComponent secmeclist = (SecurityMechanismListComponent) profile
                            .getComponent(i);

                    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]);
                                }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.corba.ior.CompoundSecurityMechanism

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.