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