Class XISControllerService


  • @Service
    public class XISControllerService
    extends Object
    • Constructor Detail

      • XISControllerService

        public XISControllerService()
    • Method Detail

      • auth

        public org.springframework.http.ResponseEntity<AuthorizeResponse> auth​(String redirectId,
                                                                               ConsentType consentType,
                                                                               String encryptedConsentId,
                                                                               javax.servlet.http.HttpServletResponse response)
        The purpose of this protocol step is to parse the redirect link and start the user agent.

        The user agent is defined by providing the URL read from the property online-banking.sca.loginpage.

        A 302 redirect will be performed to that URL by default. But if the target user agent does not which for a redirect, it can set the NO_REDIRECT_HEADER_PARAM to true/on.

        Parameters:
        redirectId - redirectId
        consentType - consentType
        encryptedConsentId - encryptedConsentId
        response - Servlet Response
        Returns:
        AuthorizeResponse
      • performLoginForConsent

        public org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.sca.SCALoginResponseTO> performLoginForConsent​(String login,
                                                                                                                                               String pin,
                                                                                                                                               String operationId,
                                                                                                                                               String authId,
                                                                                                                                               de.adorsys.ledgers.middleware.api.domain.sca.OpTypeTO operationType)