Class AisAuthorisationProcessorServiceImpl
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.authorization.processor.service.ConsentAuthorisationProcessorService<de.adorsys.psd2.core.data.ais.AisConsent>
-
- de.adorsys.psd2.xs2a.service.authorization.processor.service.AisAuthorisationProcessorServiceImpl
-
- All Implemented Interfaces:
AuthorisationProcessorService
@Service public class AisAuthorisationProcessorServiceImpl extends ConsentAuthorisationProcessorService<de.adorsys.psd2.core.data.ais.AisConsent>
-
-
Constructor Summary
Constructors Constructor Description AisAuthorisationProcessorServiceImpl(Xs2aAuthorisationService authorisationService, SpiContextDataProvider spiContextDataProvider, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, SpiErrorMapper spiErrorMapper, Xs2aToSpiPsuDataMapper psuDataMapper, List<AbstractAisAuthorizationService> services, Xs2aAisConsentService aisConsentService, de.adorsys.psd2.xs2a.spi.service.AisConsentSpi aisConsentSpi, Xs2aAisConsentMapper aisConsentMapper, CommonDecoupledAisService commonDecoupledAisService, AisScaAuthorisationService aisScaAuthorisationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorisationProcessorResponsedoScaExempted(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `exempted` status of authorisationAuthorisationProcessorResponsedoScaFailed(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `failed` status of authorisationprotected de.adorsys.psd2.xs2a.spi.domain.response.SpiResponse<de.adorsys.psd2.xs2a.spi.domain.authorisation.SpiStartAuthorisationResponse>getSpiStartAuthorisationResponse(de.adorsys.psd2.xs2a.spi.domain.SpiContextData spiContextData, de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach, de.adorsys.psd2.xs2a.core.sca.ScaStatus scaStatus, String authorisationId, de.adorsys.psd2.core.data.ais.AisConsent consent, de.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider spiAspspConsentDataProvider)voidupdateAuthorisation(AuthorisationProcessorRequest request, AuthorisationProcessorResponse response)Updates authorisation in the CMS after each successful authorisation step execution-
Methods inherited from class de.adorsys.psd2.xs2a.service.authorization.processor.service.ConsentAuthorisationProcessorService
doScaFinalised, doScaMethodSelected, doScaPsuAuthenticated, doScaPsuIdentified, doScaReceived, doScaStarted
-
-
-
-
Constructor Detail
-
AisAuthorisationProcessorServiceImpl
public AisAuthorisationProcessorServiceImpl(Xs2aAuthorisationService authorisationService, SpiContextDataProvider spiContextDataProvider, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, SpiErrorMapper spiErrorMapper, Xs2aToSpiPsuDataMapper psuDataMapper, List<AbstractAisAuthorizationService> services, Xs2aAisConsentService aisConsentService, de.adorsys.psd2.xs2a.spi.service.AisConsentSpi aisConsentSpi, Xs2aAisConsentMapper aisConsentMapper, CommonDecoupledAisService commonDecoupledAisService, AisScaAuthorisationService aisScaAuthorisationService)
-
-
Method Detail
-
updateAuthorisation
public void updateAuthorisation(AuthorisationProcessorRequest request, AuthorisationProcessorResponse response)
Description copied from interface:AuthorisationProcessorServiceUpdates authorisation in the CMS after each successful authorisation step execution- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMSresponse-AuthorisationProcessorResponsethe response object
-
getSpiStartAuthorisationResponse
protected de.adorsys.psd2.xs2a.spi.domain.response.SpiResponse<de.adorsys.psd2.xs2a.spi.domain.authorisation.SpiStartAuthorisationResponse> getSpiStartAuthorisationResponse(de.adorsys.psd2.xs2a.spi.domain.SpiContextData spiContextData, de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach, de.adorsys.psd2.xs2a.core.sca.ScaStatus scaStatus, String authorisationId, de.adorsys.psd2.core.data.ais.AisConsent consent, de.adorsys.psd2.xs2a.spi.domain.SpiAspspConsentDataProvider spiAspspConsentDataProvider)- Specified by:
getSpiStartAuthorisationResponsein classConsentAuthorisationProcessorService<de.adorsys.psd2.core.data.ais.AisConsent>
-
doScaFailed
public AuthorisationProcessorResponse doScaFailed(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `failed` status of authorisation- Specified by:
doScaFailedin interfaceAuthorisationProcessorService- Parameters:
authorisationProcessorRequest- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaExempted
public AuthorisationProcessorResponse doScaExempted(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `exempted` status of authorisation- Specified by:
doScaExemptedin interfaceAuthorisationProcessorService- Parameters:
authorisationProcessorRequest- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
-