public class DefaultProxyAuthorizationManager extends Object implements ProxyAuthorizationManager
| Constructor and Description |
|---|
DefaultProxyAuthorizationManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(ProxyAuthorizationHandler pah)
Adds the specified
ProxyAuthorizationHandler. |
boolean |
handleProxyAuthorization(org.jboss.netty.handler.codec.http.HttpRequest request,
org.jboss.netty.channel.ChannelHandlerContext ctx)
Handles all aspects of authorizing the specified request, looping
through all registered
ProxyAuthorizationHandlers. |
public void addHandler(ProxyAuthorizationHandler pah)
ProxyAuthorizationManagerProxyAuthorizationHandler.addHandler in interface ProxyAuthorizationManagerpah - The ProxyAuthorizationHandler to add.public boolean handleProxyAuthorization(org.jboss.netty.handler.codec.http.HttpRequest request,
org.jboss.netty.channel.ChannelHandlerContext ctx)
ProxyAuthorizationManagerProxyAuthorizationHandlers.handleProxyAuthorization in interface ProxyAuthorizationManagerrequest - The HTTP request.ctx - The context, including the underlying channel.true if authorization succeeded, otherwise
false.Copyright © 2009-2013 LittleShoot. All Rights Reserved.