Package com.soffid.iam.service
Class CertificateValidationServiceBase
- java.lang.Object
-
- com.soffid.iam.service.CertificateValidationServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.CertificateValidationService
- Direct Known Subclasses:
CertificateValidationServiceImpl
public abstract class CertificateValidationServiceBase extends Object implements com.soffid.iam.service.CertificateValidationService
Spring Service base class for
see com.soffid.iam.service.CertificateValidationServicecom.soffid.iam.service.CertificateValidationService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description CertificateValidationServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.AccountgetCertificateAccount(List<X509Certificate> certs)com.soffid.iam.api.UsergetCertificateUser(List<X509Certificate> certs)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.Collection<X509Certificate>getRootCertificateList()protected abstract com.soffid.iam.api.AccounthandleGetCertificateAccount(List<X509Certificate> certs)protected abstract com.soffid.iam.api.UserhandleGetCertificateUser(List<X509Certificate> certs)protected abstract Collection<X509Certificate>handleGetRootCertificateList()protected abstract booleanhandleValidateCertificate(List<X509Certificate> certs)booleanvalidateCertificate(List<X509Certificate> certs)
-
-
-
Method Detail
-
validateCertificate
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean validateCertificate(List<X509Certificate> certs) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
validateCertificatein interfacecom.soffid.iam.service.CertificateValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleValidateCertificate
protected abstract boolean handleValidateCertificate(List<X509Certificate> certs) throws Exception
- Throws:
Exception
-
getCertificateAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.Account getCertificateAccount(List<X509Certificate> certs) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getCertificateAccountin interfacecom.soffid.iam.service.CertificateValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetCertificateAccount
protected abstract com.soffid.iam.api.Account handleGetCertificateAccount(List<X509Certificate> certs) throws Exception
- Throws:
Exception
-
getCertificateUser
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.User getCertificateUser(List<X509Certificate> certs) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getCertificateUserin interfacecom.soffid.iam.service.CertificateValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetCertificateUser
protected abstract com.soffid.iam.api.User handleGetCertificateUser(List<X509Certificate> certs) throws Exception
- Throws:
Exception
-
getRootCertificateList
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<X509Certificate> getRootCertificateList() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getRootCertificateListin interfacecom.soffid.iam.service.CertificateValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetRootCertificateList
protected abstract Collection<X509Certificate> handleGetRootCertificateList() throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-