    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.www.protocol.http.auth.LocalAuthFilter

    java.lang.Object
       |
       +----org.w3c.www.protocol.http.auth.LocalAuthFilter

public class LocalAuthFilter
extends Object
implements RequestFilter

##

exceptionFilter(Request, HttpException)
  This filter doesn't handle exceptions.
ingoingFilter(Request)
  The ingoing filter just decorates the request with the credentials.
installLocalAuth(HttpManager, URL, HttpCredential)
  Install a local authentication filter for the given target.
installProxyAuth(HttpManager, HttpCredential)
  Install a proxy authentication filter globally.
outgoingFilter(Request, Reply)
  The outgoing filter is empty here.
sync()
  We don't maintain cached informations.

##

installLocalAuth

     public static void installLocalAuth(HttpManager manager,
                                         URL domain,
                                         HttpCredential credentials)

  Install a local authentication filter for the given target.

  Parameters:
    manager - The HttpManager.
    for - The domain to which given credentials apply.
    credentials - The credentials to use for this domain.

installProxyAuth

     public static void installProxyAuth(HttpManager manager,
                                         HttpCredential credentials)

  Install a proxy authentication filter globally.

  Parameters:
    manager - The HttpManager.
    credentials - The credentials to use for this domain.

exceptionFilter

     public boolean exceptionFilter(Request request,
                                    HttpException ex)

  This filter doesn't handle exceptions.

  Parameters:
    request - The request that triggered the exception.
    ex - The triggered exception.
  Returns:
    Always false.

ingoingFilter

     public Reply ingoingFilter(Request request)

  The ingoing filter just decorates the request with the credentials.

  Parameters:
    request - The request to be processed.
  Returns:
    Always null.

outgoingFilter

     public Reply outgoingFilter(Request request,
                                 Reply reply)

  The outgoing filter is empty here.

sync

     public void sync()

  We don't maintain cached informations.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index