Class MSALSessionAttributeRequestProxy
java.lang.Object
org.ametys.plugins.site.proxy.SessionAttributeRequestProxy
org.ametys.plugins.extrausermgt.proxy.MSALSessionAttributeRequestProxy
- All Implemented Interfaces:
BackOfficeRequestProxy
,LogEnabled
,Configurable
public class MSALSessionAttributeRequestProxy
extends SessionAttributeRequestProxy
implements LogEnabled
Request proxy to forward the MS authentication token to the back office.
If needed, the token is refreshed before the forward
-
Field Summary
Fields inherited from class org.ametys.plugins.site.proxy.SessionAttributeRequestProxy
_attributes, HEADER_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Logger
Returns theLogger
.void
prepareBackOfficeRequest
(Request request, HttpUriRequest backOfficeRequest) Allow to modify the back-office request being created.void
Called at creation time to provide aLogger
.Methods inherited from class org.ametys.plugins.site.proxy.SessionAttributeRequestProxy
configure, handleBackOfficeResponse
-
Constructor Details
-
MSALSessionAttributeRequestProxy
public MSALSessionAttributeRequestProxy()
-
-
Method Details
-
getLogger
Returns theLogger
.- Returns:
- the
Logger
.
-
setLogger
Description copied from interface:LogEnabled
Called at creation time to provide aLogger
.- Specified by:
setLogger
in interfaceLogEnabled
- Parameters:
logger
- aLogger
for messages.
-
prepareBackOfficeRequest
Description copied from interface:BackOfficeRequestProxy
Allow to modify the back-office request being created.- Specified by:
prepareBackOfficeRequest
in interfaceBackOfficeRequestProxy
- Overrides:
prepareBackOfficeRequest
in classSessionAttributeRequestProxy
- Parameters:
request
- the incoming request from the client.backOfficeRequest
- the back-office request being created.
-