Package org.ametys.plugins.site.proxy
Class ProxyGrantingTicketProxy
- java.lang.Object
-
- org.ametys.plugins.site.proxy.ProxyGrantingTicketProxy
-
- All Implemented Interfaces:
BackOfficeRequestProxy
public class ProxyGrantingTicketProxy extends Object implements BackOfficeRequestProxy
Add a request header with CAS proxy granting ticket
-
-
Constructor Summary
Constructors Constructor Description ProxyGrantingTicketProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleBackOfficeResponse(Response response, org.apache.http.HttpResponse backOfficeResponse)
Allow to modify the response, bases on the back-office response.void
prepareBackOfficeRequest(Request request, HttpUriRequest backOfficeRequest)
Allow to modify the back-office request being created.
-
-
-
Constructor Detail
-
ProxyGrantingTicketProxy
public ProxyGrantingTicketProxy()
-
-
Method Detail
-
prepareBackOfficeRequest
public void prepareBackOfficeRequest(Request request, HttpUriRequest backOfficeRequest)
Description copied from interface:BackOfficeRequestProxy
Allow to modify the back-office request being created.- Specified by:
prepareBackOfficeRequest
in interfaceBackOfficeRequestProxy
- Parameters:
request
- the incoming request from the client.backOfficeRequest
- the back-office request being created.
-
handleBackOfficeResponse
public void handleBackOfficeResponse(Response response, org.apache.http.HttpResponse backOfficeResponse)
Description copied from interface:BackOfficeRequestProxy
Allow to modify the response, bases on the back-office response.- Specified by:
handleBackOfficeResponse
in interfaceBackOfficeRequestProxy
- Parameters:
response
- the response being created.backOfficeResponse
- the back-office response.
-
-