Class ThreadLocalClientTLSCredentialHandler

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler

    public class ThreadLocalClientTLSCredentialHandler
    extends Object
    implements net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler
    An implementation of HttpClientContextHandler which clears the thread local client TLS credential held by ThreadLocalX509CredentialContext.
    • Field Detail

      • log

        private final Logger log
        Logger.
    • Constructor Detail

      • ThreadLocalClientTLSCredentialHandler

        public ThreadLocalClientTLSCredentialHandler()
    • Method Detail

      • invokeBefore

        public void invokeBefore​(@Nonnull
                                 HttpClientContext context,
                                 @Nonnull
                                 HttpUriRequest request)
                          throws IOException
        Specified by:
        invokeBefore in interface net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler
        Throws:
        IOException
      • invokeAfter

        public void invokeAfter​(@Nonnull
                                HttpClientContext context,
                                @Nonnull
                                HttpUriRequest request)
                         throws IOException
        Specified by:
        invokeAfter in interface net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler
        Throws:
        IOException