org.littleshoot.proxy
Interface ProxyAuthorizationManager

All Known Implementing Classes:
DefaultProxyAuthorizationManager

public interface ProxyAuthorizationManager

Interface for classes that manage proxy authentication.


Method Summary
 void addHandler(ProxyAuthorizationHandler pah)
          Adds the specified ProxyAuthorizationHandler.
 boolean handleProxyAuthorization(org.jboss.netty.handler.codec.http.HttpRequest httpRequest, org.jboss.netty.channel.ChannelHandlerContext ctx)
          Handles all aspects of authorizing the specified request, looping through all registered ProxyAuthorizationHandlers.
 

Method Detail

addHandler

void addHandler(ProxyAuthorizationHandler pah)
Adds the specified ProxyAuthorizationHandler.

Parameters:
pah - The ProxyAuthorizationHandler to add.

handleProxyAuthorization

boolean handleProxyAuthorization(org.jboss.netty.handler.codec.http.HttpRequest httpRequest,
                                 org.jboss.netty.channel.ChannelHandlerContext ctx)
Handles all aspects of authorizing the specified request, looping through all registered ProxyAuthorizationHandlers.

Parameters:
httpRequest - The HTTP request.
ctx - The context, including the underlying channel.
Returns:
true if authorization succeeded, otherwise false.


Copyright © 2009-2013 LittleShoot. All Rights Reserved.