Class HttpBasicAuthLogicHandler

    • Constructor Detail

      • HttpBasicAuthLogicHandler

        public HttpBasicAuthLogicHandler​(ProxyIoSession proxyIoSession)
                                  throws ProxyAuthException
        Build an HttpBasicAuthLogicHandler
        Parameters:
        proxyIoSession - The proxy session
        Throws:
        ProxyAuthException - If we had a probelm during the proxy authentication
    • Method Detail

      • createAuthorization

        public static java.lang.String createAuthorization​(java.lang.String username,
                                                           java.lang.String password)
        Computes the authorization header value.
        Parameters:
        username - the user name
        password - the user password
        Returns:
        the authorization header value as a string