Class 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 com.soffid.iam.service.CertificateValidationService, provides access to all services and entities referenced by this service.

    see com.soffid.iam.service.CertificateValidationService
    • Constructor Detail

      • CertificateValidationServiceBase

        public CertificateValidationServiceBase()
    • 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:
        validateCertificate in interface com.soffid.iam.service.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • 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:
        getCertificateAccount in interface com.soffid.iam.service.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • 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:
        getCertificateUser in interface com.soffid.iam.service.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • 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:
        getRootCertificateList in interface com.soffid.iam.service.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getPrincipal

        protected Principal getPrincipal()
        Gets the current principal if one has been set, otherwise returns null.
        Returns:
        the current principal