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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.slf4j.LoggerReturns theLogger.voidprepareBackOfficeRequest(Request request, HttpUriRequest backOfficeRequest) Allow to modify the back-office request being created.voidsetLogger(org.slf4j.Logger logger) 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:LogEnabledCalled at creation time to provide aLogger.- Specified by:
setLoggerin interfaceLogEnabled- Parameters:
logger- aLoggerfor messages.
-
prepareBackOfficeRequest
Description copied from interface:BackOfficeRequestProxyAllow to modify the back-office request being created.- Specified by:
prepareBackOfficeRequestin interfaceBackOfficeRequestProxy- Overrides:
prepareBackOfficeRequestin classSessionAttributeRequestProxy- Parameters:
request- the incoming request from the client.backOfficeRequest- the back-office request being created.
-