Class OauthProfileServiceWrapper

  • All Implemented Interfaces:
    de.adorsys.psd2.aspsp.profile.service.AspspProfileService

    @Primary
    @Service
    public class OauthProfileServiceWrapper
    extends Object
    implements de.adorsys.psd2.aspsp.profile.service.AspspProfileService
    ASPSP profile wrapper, responsible for substituting real scaRedirectFlow value and modifying redirect and oauth links from profile. Needed for dynamic resolution of scaRedirectFlow without changing the profile itself.
    • Constructor Detail

      • OauthProfileServiceWrapper

        public OauthProfileServiceWrapper​(de.adorsys.psd2.aspsp.profile.service.AspspProfileService aspspProfileService,
                                          OauthDataHolder oauthDataHolder,
                                          de.adorsys.psd2.xs2a.service.discovery.ServiceTypeDiscoveryService serviceTypeDiscoveryService,
                                          @Value("${oauth.integrated.ais.suffix:?consentId={encrypted-consent-id}&redirectId={redirect-id}}")
                                          String aisIntegratedOauthSuffix,
                                          @Value("${oauth.integrated.pis.suffix:?paymentId={encrypted-payment-id}&redirectId={redirect-id}}")
                                          String pisIntegratedOauthSuffix,
                                          @Value("${oauth.pre-step.ais.suffix:&token=}")
                                          String aisPreStepOauthSuffix,
                                          @Value("${oauth.pre-step.pis.suffix:&token=}")
                                          String pisPreStepOauthSuffix)
    • Method Detail

      • getAspspSettings

        public de.adorsys.psd2.aspsp.profile.domain.AspspSettings getAspspSettings()
        Specified by:
        getAspspSettings in interface de.adorsys.psd2.aspsp.profile.service.AspspProfileService
      • getScaApproaches

        public List<de.adorsys.psd2.xs2a.core.profile.ScaApproach> getScaApproaches()
        Specified by:
        getScaApproaches in interface de.adorsys.psd2.aspsp.profile.service.AspspProfileService