Class 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

      Constructors 
      Constructor Description
      SSLContextHelper​(java.lang.String host, int port, Authorization auth, java.lang.Boolean anonymous, org.ietf.jgss.GSSCredential cred, java.lang.Integer protection, TrustedCertificates trustedCerts)  
      SSLContextHelper​(org.apache.axis.MessageContext msgContext, java.lang.String host, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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)