Class ConsentAuthorisationProcessorService<T extends de.adorsys.psd2.core.data.Consent>
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.authorization.processor.service.ConsentAuthorisationProcessorService<T>
-
- All Implemented Interfaces:
AuthorisationProcessorService
- Direct Known Subclasses:
AisAuthorisationProcessorServiceImpl,PiisAuthorisationProcessorServiceImpl
public abstract class ConsentAuthorisationProcessorService<T extends de.adorsys.psd2.core.data.Consent> extends Object
-
-
Constructor Summary
Constructors Constructor Description ConsentAuthorisationProcessorService(Xs2aAuthorisationService authorisationService, SpiContextDataProvider spiContextDataProvider, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, SpiErrorMapper spiErrorMapper, Xs2aToSpiPsuDataMapper psuDataMapper)
-
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 authorisationAuthorisationProcessorResponsedoScaFinalised(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `finalised` status of authorisationAuthorisationProcessorResponsedoScaMethodSelected(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `scaMethodSelected` status of authorisationAuthorisationProcessorResponsedoScaPsuAuthenticated(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `psuAuthenticated` status of authorisationAuthorisationProcessorResponsedoScaPsuIdentified(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `psuIdentified` status of authorisationAuthorisationProcessorResponsedoScaReceived(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `received` status of authorisationAuthorisationProcessorResponsedoScaStarted(AuthorisationProcessorRequest authorisationProcessorRequest)Contains business logic to perform at the `started` status of authorisationprotected StringresolveBusinessObjectName(de.adorsys.psd2.xs2a.core.mapper.ServiceType serviceType)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.adorsys.psd2.xs2a.service.authorization.processor.service.AuthorisationProcessorService
updateAuthorisation
-
-
-
-
Constructor Detail
-
ConsentAuthorisationProcessorService
public ConsentAuthorisationProcessorService(Xs2aAuthorisationService authorisationService, SpiContextDataProvider spiContextDataProvider, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, SpiErrorMapper spiErrorMapper, Xs2aToSpiPsuDataMapper psuDataMapper)
-
-
Method Detail
-
doScaReceived
public AuthorisationProcessorResponse doScaReceived(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `received` status of authorisation- 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
-
doScaPsuIdentified
public AuthorisationProcessorResponse doScaPsuIdentified(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `psuIdentified` status of authorisation- 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
-
doScaPsuAuthenticated
public AuthorisationProcessorResponse doScaPsuAuthenticated(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `psuAuthenticated` status of authorisation- 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
-
doScaMethodSelected
public AuthorisationProcessorResponse doScaMethodSelected(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `scaMethodSelected` status of authorisation- 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
-
doScaFinalised
public AuthorisationProcessorResponse doScaFinalised(AuthorisationProcessorRequest authorisationProcessorRequest)
Description copied from interface:AuthorisationProcessorServiceContains business logic to perform at the `finalised` status of authorisation- 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
-
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
-
resolveBusinessObjectName
protected String resolveBusinessObjectName(de.adorsys.psd2.xs2a.core.mapper.ServiceType serviceType)
-
-