butler.ext.authentication
Class AuthInterceptor

java.lang.Object
  extended by butler.ext.authentication.AuthInterceptor
All Implemented Interfaces:
Interceptor

public class AuthInterceptor
extends java.lang.Object
implements Interceptor

Simple implementations of interceptor

Author:
Fredrik Bertilsson

Constructor Summary
AuthInterceptor(Authenticator callback)
           
 
Method Summary
static AuthData getAuthContext()
           
 java.lang.Object intercept(Request request, Chain chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthInterceptor

public AuthInterceptor(Authenticator callback)
Method Detail

intercept

public java.lang.Object intercept(Request request,
                                  Chain chain)
                           throws java.lang.Exception
Specified by:
intercept in interface Interceptor
Throws:
java.lang.Exception

getAuthContext

public static AuthData getAuthContext()