Class w3c.www.protocol.http.auth.AuthFilter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.protocol.http.auth.AuthFilter

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

public class AuthFilter
extends Object
implements PropRequestFilter

Variable Index

 o manager
the HttpManager that installed us.

Constructor Index

 o AuthFilter()

Method Index

 o exceptionFilter(Request, HttpException)
This filter doesn't handle exceptions.
 o ingoingFilter(Request)
On the way out, we let the request fly through.
 o initialize(HttpManager)
PropRequestFilter implementation - Initialize the filter.
 o outgoingFilter(Request, Reply)
Catch any authentication requirement, and fullfill it with user's help.
 o sync()
We don't maintain cached informations.

Variables

 o manager
  protected HttpManager manager
the HttpManager that installed us.

Constructors

 o AuthFilter
  public AuthFilter()

Methods

 o initialize
  public void initialize(HttpManager manager)
PropRequestFilter implementation - Initialize the filter. Time to register ourself to the HttpManager.
Parameters:
manager - The HTTP manager that is initializing ourself.
 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)
On the way out, we let the request fly through.
Parameters:
request - The request about to be emitted.
 o outgoingFilter
  public Reply outgoingFilter(Request request,
                              Reply reply) throws HttpException
Catch any authentication requirement, and fullfill it with user's help. This method trap all request for authentication, and pops up a dialog prompting for the user's name and password.

It then retries the request with the provided authentication informations.

Parameters:
request - The request that requires authentication.
reply - The original reply.
 o sync
  public void sync()
We don't maintain cached informations.

All Packages  Class Hierarchy  This Package  Previous  Next  Index