Class DefaultAuthHandler

  • All Implemented Interfaces:
    AuthorizationHandler

    public class DefaultAuthHandler
    extends Object
    implements AuthorizationHandler
    This class is the default authorization handler. It currently handles the authentication schemes "Basic", "Digest", and "SOCKS5" (used for the SocksClient and not part of HTTP per se).

    By default, when a username and password is required, this handler throws up a message box requesting the desired info. However, applications can set their own authorization prompter if desired.

    Note: all methods except for setAuthorizationPrompter are meant to be invoked by the AuthorizationModule only, i.e. should not be invoked by the application (those methods are only public because implementing the AuthorizationHandler interface requires them to be).

    Since:
    V0.2
    Version:
    0.3-3 06/05/2001
    Author:
    Ronald Tschal���r