Class FormBasedAuthInterceptor
- java.lang.Object
-
- org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor
-
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
,org.apache.http.HttpResponseInterceptor
,HttpRequestResponseInterceptor
public class FormBasedAuthInterceptor extends Object implements org.apache.http.HttpRequestInterceptor, HttpRequestResponseInterceptor
-
-
Constructor Summary
Constructors Constructor Description FormBasedAuthInterceptor(String loginTokenName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
void
process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-
-
-
Constructor Detail
-
FormBasedAuthInterceptor
public FormBasedAuthInterceptor(String loginTokenName)
-
-
Method Detail
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
- Specified by:
process
in interfaceorg.apache.http.HttpRequestInterceptor
- Throws:
org.apache.http.HttpException
IOException
-
process
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
- Specified by:
process
in interfaceorg.apache.http.HttpResponseInterceptor
- Throws:
org.apache.http.HttpException
IOException
-
-