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<AisAuthorizationService> 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 authorisationAuthorisationProcessorResponsedoScaStarted(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `started` status of authorisationvoidupdateAuthorisation(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
-
-
-
-
Constructor Detail
-
AisAuthorisationProcessorServiceImpl
public AisAuthorisationProcessorServiceImpl(Xs2aAuthorisationService authorisationService, SpiContextDataProvider spiContextDataProvider, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, SpiErrorMapper spiErrorMapper, Xs2aToSpiPsuDataMapper psuDataMapper, List<AisAuthorizationService> 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
-
doScaStarted
public AuthorisationProcessorResponse doScaStarted(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `started` status of authorisation- Specified by:
doScaStartedin 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
-
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
-
-