public abstract class AbstractXISController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AspspConsentDataClient |
aspspConsentDataClient |
protected de.adorsys.ledgers.middleware.client.rest.AuthRequestInterceptor |
authInterceptor |
protected MiddlewareAuthentication |
middlewareAuth |
protected de.adorsys.ledgers.oba.service.api.service.ConsentReferencePolicy |
referencePolicy |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
protected ResponseUtils |
responseUtils |
protected TokenAuthenticationService |
tokenAuthenticationService |
protected de.adorsys.ledgers.middleware.api.service.TokenStorageService |
tokenStorageService |
protected de.adorsys.ledgers.middleware.client.rest.UserMgmtRestClient |
userMgmtRestClient |
| Constructor and Description |
|---|
AbstractXISController() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<de.adorsys.ledgers.oba.service.api.domain.AuthorizeResponse> |
auth(String redirectId,
de.adorsys.ledgers.oba.service.api.domain.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.
|
abstract String |
getBasePath() |
protected 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) |
protected org.springframework.http.ResponseEntity<de.adorsys.ledgers.oba.service.api.domain.PaymentAuthorizeResponse> |
resolvePaymentWorkflow(de.adorsys.ledgers.oba.service.api.domain.PaymentWorkflow workflow,
javax.servlet.http.HttpServletResponse response) |
@Autowired protected AspspConsentDataClient aspspConsentDataClient
@Autowired protected de.adorsys.ledgers.middleware.api.service.TokenStorageService tokenStorageService
@Autowired protected TokenAuthenticationService tokenAuthenticationService
@Autowired protected de.adorsys.ledgers.middleware.client.rest.AuthRequestInterceptor authInterceptor
@Autowired protected javax.servlet.http.HttpServletRequest request
@Autowired protected javax.servlet.http.HttpServletResponse response
@Autowired protected MiddlewareAuthentication middlewareAuth
@Autowired protected de.adorsys.ledgers.middleware.client.rest.UserMgmtRestClient userMgmtRestClient
@Autowired protected de.adorsys.ledgers.oba.service.api.service.ConsentReferencePolicy referencePolicy
@Autowired protected ResponseUtils responseUtils
public abstract String getBasePath()
protected org.springframework.http.ResponseEntity<de.adorsys.ledgers.oba.service.api.domain.AuthorizeResponse> auth(String redirectId, de.adorsys.ledgers.oba.service.api.domain.ConsentType consentType, String encryptedConsentId, javax.servlet.http.HttpServletResponse response)
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.
redirectId - redirectIdconsentType - consentTypeencryptedConsentId - encryptedConsentIdresponse - Servlet Responseprotected 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)
protected org.springframework.http.ResponseEntity<de.adorsys.ledgers.oba.service.api.domain.PaymentAuthorizeResponse> resolvePaymentWorkflow(de.adorsys.ledgers.oba.service.api.domain.PaymentWorkflow workflow,
javax.servlet.http.HttpServletResponse response)
Copyright © 2019. All rights reserved.