public abstract class CmsAuthorisationService<T extends Authorisable> extends Object implements AuthService
| Modifier and Type | Field and Description |
|---|---|
protected de.adorsys.psd2.aspsp.profile.service.AspspProfileService |
aspspProfileService |
protected AuthorisationMapper |
authorisationMapper |
protected AuthorisationRepository |
authorisationRepository |
protected CmsPsuService |
cmsPsuService |
protected ConfirmationExpirationService<T> |
confirmationExpirationService |
protected PsuDataMapper |
psuDataMapper |
| Constructor and Description |
|---|
CmsAuthorisationService() |
| Modifier and Type | Method and Description |
|---|---|
Authorisable |
checkAndUpdateOnConfirmationExpiration(Authorisable authorisable) |
AuthorisationEntity |
doUpdateAuthorisation(AuthorisationEntity authorisationEntity,
de.adorsys.psd2.consent.api.authorisation.UpdateAuthorisationRequest updateAuthorisationRequest) |
Optional<AuthorisationEntity> |
getAuthorisationById(String authorisationId) |
List<AuthorisationEntity> |
getAuthorisationsByParentId(String parentId) |
boolean |
isConfirmationExpired(Authorisable authorisable) |
AuthorisationEntity |
saveAuthorisation(de.adorsys.psd2.consent.api.authorisation.CreateAuthorisationRequest request,
Authorisable authorisationParent) |
protected void |
updateAuthorisable(Object authorisable) |
Authorisable |
updateOnConfirmationExpiration(Authorisable authorisable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthorisationParent, getNotFinalisedAuthorisationParentprotected final CmsPsuService cmsPsuService
protected final PsuDataMapper psuDataMapper
protected final de.adorsys.psd2.aspsp.profile.service.AspspProfileService aspspProfileService
protected final AuthorisationMapper authorisationMapper
protected final AuthorisationRepository authorisationRepository
protected final ConfirmationExpirationService<T extends Authorisable> confirmationExpirationService
public List<AuthorisationEntity> getAuthorisationsByParentId(String parentId)
getAuthorisationsByParentId in interface AuthServicepublic Optional<AuthorisationEntity> getAuthorisationById(String authorisationId)
getAuthorisationById in interface AuthServicepublic AuthorisationEntity saveAuthorisation(de.adorsys.psd2.consent.api.authorisation.CreateAuthorisationRequest request, Authorisable authorisationParent)
saveAuthorisation in interface AuthServicepublic AuthorisationEntity doUpdateAuthorisation(AuthorisationEntity authorisationEntity, de.adorsys.psd2.consent.api.authorisation.UpdateAuthorisationRequest updateAuthorisationRequest)
doUpdateAuthorisation in interface AuthServicepublic Authorisable checkAndUpdateOnConfirmationExpiration(Authorisable authorisable)
checkAndUpdateOnConfirmationExpiration in interface AuthServicepublic boolean isConfirmationExpired(Authorisable authorisable)
isConfirmationExpired in interface AuthServicepublic Authorisable updateOnConfirmationExpiration(Authorisable authorisable)
updateOnConfirmationExpiration in interface AuthServiceprotected void updateAuthorisable(Object authorisable)
Copyright © 2020. All rights reserved.