Package org.glite.authz.pap.client.impl.axis

Examples of org.glite.authz.pap.client.impl.axis.DefaultConfigurator


        serviceURL = endpointURL;
    }

    protected void initializeAxisProperties() {

        DefaultConfigurator socketFactoryConfigurator = new DefaultConfigurator();

        if (clientProxy != null) {
           
          socketFactoryConfigurator.setProxyFile(clientProxy);
           
        } else {

          if (clientCertificate != null)
            socketFactoryConfigurator.setCertFile(clientCertificate);

            if (clientPrivateKey != null)
              socketFactoryConfigurator.setKeyFile(clientPrivateKey);
           
            if (clientPrivateKeyPassword != null)
              socketFactoryConfigurator.setKeyPassword(clientPrivateKeyPassword);
        }

        CANLAxis1SocketFactory.setConfigurator(socketFactoryConfigurator);
        String socketFactoryClass = CANLAxis1SocketFactory.class.getName();
        AxisProperties.setProperty(AXIS_SOCKET_FACTORY_PROPERTY, socketFactoryClass);
View Full Code Here

TOP

Related Classes of org.glite.authz.pap.client.impl.axis.DefaultConfigurator

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.