All Packages  Class Hierarchy  This Package  Previous  Next  Index

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

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

public class LocalAuthFilter
extends Object
implements RequestFilter

Method Index

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

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o outgoingFilter
 public Reply outgoingFilter(Request request,
                             Reply reply)
The outgoing filter is empty here.

 o sync
 public void sync()
We don't maintain cached informations.


All Packages  Class Hierarchy  This Package  Previous  Next  Index