Class BasicAuthentication.BasicResult

    • Constructor Detail

      • BasicResult

        public BasicResult​(URI uri,
                           String user,
                           String password)
      • BasicResult

        public BasicResult​(URI uri,
                           org.eclipse.jetty.http.HttpHeader header,
                           String user,
                           String password)
    • Method Detail

      • apply

        public void apply​(Request request)
        Description copied from interface: Authentication.Result
        Applies the authentication result to the given request. Typically, a Authorization header is added to the request, with the right information to successfully authenticate at the server.
        Specified by:
        apply in interface Authentication.Result
        Parameters:
        request - the request to authenticate