@Service public class AisAuthorisationProcessorServiceImpl extends Object
| Constructor and Description |
|---|
AisAuthorisationProcessorServiceImpl(RequestProviderService requestProviderService,
List<AisAuthorizationService> services,
Xs2aAisConsentService aisConsentService,
AisConsentSpi aisConsentSpi,
Xs2aAisConsentMapper aisConsentMapper,
SpiContextDataProvider spiContextDataProvider,
SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory,
SpiErrorMapper spiErrorMapper,
CommonDecoupledAisService commonDecoupledAisService,
SpiToXs2aAuthenticationObjectMapper spiToXs2aAuthenticationObjectMapper,
AisScaAuthorisationService aisScaAuthorisationService,
Xs2aToSpiPsuDataMapper psuDataMapper) |
| Modifier and Type | Method and Description |
|---|---|
AuthorisationProcessorResponse |
doScaExempted(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `exempted` status of authorisation
|
AuthorisationProcessorResponse |
doScaFailed(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `failed` status of authorisation
|
AuthorisationProcessorResponse |
doScaFinalised(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `finalised` status of authorisation
|
AuthorisationProcessorResponse |
doScaMethodSelected(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `scaMethodSelected` status of authorisation
|
AuthorisationProcessorResponse |
doScaPsuAuthenticated(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `psuAuthenticated` status of authorisation
|
AuthorisationProcessorResponse |
doScaPsuIdentified(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `psuIdentified` status of authorisation
|
AuthorisationProcessorResponse |
doScaReceived(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `received` status of authorisation
|
AuthorisationProcessorResponse |
doScaStarted(AuthorisationProcessorRequest authorisationProcessorRequest)
Contains business logic to perform at the `started` status of authorisation
|
void |
updateAuthorisation(AuthorisationProcessorRequest request,
AuthorisationProcessorResponse response)
Updates authorisation in the CMS after each successful authorisation step execution
|
public AisAuthorisationProcessorServiceImpl(RequestProviderService requestProviderService, List<AisAuthorizationService> services, Xs2aAisConsentService aisConsentService, AisConsentSpi aisConsentSpi, Xs2aAisConsentMapper aisConsentMapper, SpiContextDataProvider spiContextDataProvider, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, SpiErrorMapper spiErrorMapper, CommonDecoupledAisService commonDecoupledAisService, SpiToXs2aAuthenticationObjectMapper spiToXs2aAuthenticationObjectMapper, AisScaAuthorisationService aisScaAuthorisationService, Xs2aToSpiPsuDataMapper psuDataMapper)
public void updateAuthorisation(AuthorisationProcessorRequest request, AuthorisationProcessorResponse response)
AuthorisationProcessorServicerequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaReceived(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaPsuIdentified(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaPsuAuthenticated(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaMethodSelected(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaFinalised(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaStarted(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServicedoScaStarted in interface AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaFailed(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServicedoScaFailed in interface AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSpublic AuthorisationProcessorResponse doScaExempted(AuthorisationProcessorRequest authorisationProcessorRequest)
AuthorisationProcessorServicedoScaExempted in interface AuthorisationProcessorServiceauthorisationProcessorRequest - the request object, containing incoming data from controller and authorisation data from CMSCopyright © 2019. All rights reserved.