Class XISControllerService
- java.lang.Object
-
- de.adorsys.ledgers.oba.rest.server.resource.XISControllerService
-
@Service public class XISControllerService extends Object
-
-
Constructor Summary
Constructors Constructor Description XISControllerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.voidcheckFailedCount(String encryptedId)voidresolveFailedLoginAttempt(String encryptedId, String id, String login, String authId, de.adorsys.ledgers.middleware.api.domain.sca.OpTypeTO opType)org.springframework.http.ResponseEntity<PaymentAuthorizeResponse>resolvePaymentWorkflow(PaymentWorkflow workflow)org.springframework.http.ResponseEntity<PaymentAuthorizeResponse>selectScaMethod(String encryptedPaymentId, String authorisationId, String scaMethodId, String consentAndaccessTokenCookieString)
-
-
-
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- redirectIdconsentType- consentTypeencryptedConsentId- encryptedConsentIdresponse- Servlet Response- Returns:
- AuthorizeResponse
-
resolvePaymentWorkflow
public org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> resolvePaymentWorkflow(PaymentWorkflow workflow)
-
selectScaMethod
public org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> selectScaMethod(String encryptedPaymentId, String authorisationId, String scaMethodId, String consentAndaccessTokenCookieString)
-
checkFailedCount
public void checkFailedCount(String encryptedId)
-
-