Class HttpClientHandler.IvyCredentialsProvider

  • All Implemented Interfaces:
    org.apache.http.client.CredentialsProvider
    Enclosing class:
    HttpClientHandler

    private static class HttpClientHandler.IvyCredentialsProvider
    extends java.lang.Object
    implements org.apache.http.client.CredentialsProvider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.ConcurrentHashMap<org.apache.http.auth.AuthScope,​org.apache.http.auth.Credentials> cachedCreds  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      private static org.apache.http.auth.Credentials createCredentials​(java.lang.String username, java.lang.String password)  
      org.apache.http.auth.Credentials getCredentials​(org.apache.http.auth.AuthScope authscope)  
      void setCredentials​(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cachedCreds

        private final java.util.concurrent.ConcurrentHashMap<org.apache.http.auth.AuthScope,​org.apache.http.auth.Credentials> cachedCreds
    • Constructor Detail

      • IvyCredentialsProvider

        private IvyCredentialsProvider()
    • Method Detail

      • setCredentials

        public void setCredentials​(org.apache.http.auth.AuthScope authscope,
                                   org.apache.http.auth.Credentials credentials)
        Specified by:
        setCredentials in interface org.apache.http.client.CredentialsProvider
      • getCredentials

        public org.apache.http.auth.Credentials getCredentials​(org.apache.http.auth.AuthScope authscope)
        Specified by:
        getCredentials in interface org.apache.http.client.CredentialsProvider
      • clear

        public void clear()
        Specified by:
        clear in interface org.apache.http.client.CredentialsProvider
      • createCredentials

        private static org.apache.http.auth.Credentials createCredentials​(java.lang.String username,
                                                                          java.lang.String password)