org.globus.axis.transport
Class SSLContextHelper

java.lang.Object
  extended by org.globus.axis.transport.SSLContextHelper

public class SSLContextHelper
extends java.lang.Object

This is meant to be used on a SOAP Client to call a SOAP server.
This code is based on Axis HTTPSender.java code.


Constructor Summary
SSLContextHelper(org.apache.axis.MessageContext msgContext, java.lang.String host, int port)
           
SSLContextHelper(java.lang.String host, int port, Authorization auth, java.lang.Boolean anonymous, org.ietf.jgss.GSSCredential cred, java.lang.Integer protection, TrustedCertificates trustedCerts)
           
 
Method Summary
protected  void init(java.lang.String host, int port, Authorization auth, java.lang.Boolean anonymous, org.ietf.jgss.GSSCredential cred, java.lang.Integer protection, TrustedCertificates trustedCerts)
           
 GssSocket wrapSocket(java.net.Socket socket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLContextHelper

public SSLContextHelper(org.apache.axis.MessageContext msgContext,
                        java.lang.String host,
                        int port)
                 throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

SSLContextHelper

public SSLContextHelper(java.lang.String host,
                        int port,
                        Authorization auth,
                        java.lang.Boolean anonymous,
                        org.ietf.jgss.GSSCredential cred,
                        java.lang.Integer protection,
                        TrustedCertificates trustedCerts)
                 throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException
Method Detail

init

protected void init(java.lang.String host,
                    int port,
                    Authorization auth,
                    java.lang.Boolean anonymous,
                    org.ietf.jgss.GSSCredential cred,
                    java.lang.Integer protection,
                    TrustedCertificates trustedCerts)
             throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

wrapSocket

public GssSocket wrapSocket(java.net.Socket socket)


Copyright © 2013. All Rights Reserved.