class CmsAuthorisationService implements AuthService {

    @Override
    public Optional<AuthorisationEntity> getAuthorisationById(String authorisationId) {
        return authorisationRepository.findByExternalIdAndType(authorisationId, getAuthorisationType());
    }

}