Class CertificateValidationServiceBean

  • All Implemented Interfaces:
    com.soffid.iam.service.ejb.CertificateValidationService, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, org.springframework.ejb.support.SmartSessionBean

    public class CertificateValidationServiceBean
    extends org.springframework.ejb.support.AbstractStatelessSessionBean
    implements com.soffid.iam.service.ejb.CertificateValidationService
    See Also:
    com.soffid.iam.service.CertificateValidationService,, com.soffid.iam.service.CertificateValidationService,, Serialized Form
    • Constructor Detail

      • CertificateValidationServiceBean

        public CertificateValidationServiceBean()
    • Method Detail

      • validateCertificate

        @PermitAll
        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.ejb.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getCertificateAccount

        @PermitAll
        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.ejb.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getCertificateUser

        @PermitAll
        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.ejb.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getRootCertificateList

        @PermitAll
        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.ejb.CertificateValidationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • ejbCreate

        @PostConstruct
        public void ejbCreate()
                       throws javax.ejb.CreateException
        Initizlizes been
        Overrides:
        ejbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
        Throws:
        javax.ejb.CreateException
        See Also:
        AbstractStatelessSessionBean.onEjbCreate()
      • onEjbCreate

        protected void onEjbCreate()
        Specified by:
        onEjbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
      • setSessionContext

        public void setSessionContext​(javax.ejb.SessionContext sessionContext)
        Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.
        Specified by:
        setSessionContext in interface javax.ejb.SessionBean
        See Also:
        SessionBean.setSessionContext(javax.ejb.SessionContext)
      • getSessionContext

        public final javax.ejb.SessionContext getSessionContext()
        Specified by:
        getSessionContext in interface org.springframework.ejb.support.SmartSessionBean
      • setBeanFactoryLocator

        public void setBeanFactoryLocator​(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
      • setBeanFactoryLocatorKey

        public void setBeanFactoryLocatorKey​(String arg0)
      • getBeanFactory

        protected org.springframework.beans.factory.BeanFactory getBeanFactory()
      • ejbRemove

        public void ejbRemove()
      • onEjbRemove

        protected void onEjbRemove()