Class ProxyGrantingTicketProxy
java.lang.Object
org.ametys.plugins.proxiedcontent.ProxyGrantingTicketProxy
- All Implemented Interfaces:
BackOfficeRequestProxy
Add a request header with CAS proxy granting ticket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleBackOfficeResponse(Response response, org.apache.http.HttpResponse backOfficeResponse) Allow to modify the response, bases on the back-office response.voidprepareBackOfficeRequest(Request request, HttpUriRequest backOfficeRequest) Allow to modify the back-office request being created.
-
Constructor Details
-
ProxyGrantingTicketProxy
public ProxyGrantingTicketProxy()
-
-
Method Details
-
prepareBackOfficeRequest
Description copied from interface:BackOfficeRequestProxyAllow to modify the back-office request being created.- Specified by:
prepareBackOfficeRequestin 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:BackOfficeRequestProxyAllow to modify the response, bases on the back-office response.- Specified by:
handleBackOfficeResponsein interfaceBackOfficeRequestProxy- Parameters:
response- the response being created.backOfficeResponse- the back-office response.
-