Class PamSessionServiceBean

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

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

      • PamSessionServiceBean

        public PamSessionServiceBean()
    • Method Detail

      • create

        @PermitAll
        public com.soffid.iam.api.JumpServerGroup create​(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public com.soffid.iam.api.JumpServerGroup update​(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createJumpServerSession

        @PermitAll
        public com.soffid.iam.api.NewPamSession createJumpServerSession​(com.soffid.iam.api.Account account)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createJumpServerSession in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createJumpServerSession

        @PermitAll
        public com.soffid.iam.api.NewPamSession createJumpServerSession​(com.soffid.iam.api.Account account,
                                                                        String entryPointDescriptor)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createJumpServerSession in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createJumpServerSession

        @PermitAll
        public com.soffid.iam.api.NewPamSession createJumpServerSession​(com.soffid.iam.api.Account account,
                                                                        String entryPointDescriptor,
                                                                        String pamPolicy)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createJumpServerSession in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSession

        @PermitAll
        public com.soffid.iam.api.PamSession findSession​(String serverGroup,
                                                         String sessionId)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSession in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findJumpServerGroups

        @PermitAll
        public List<com.soffid.iam.api.JumpServerGroup> findJumpServerGroups()
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findJumpServerGroups in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • search

        @PermitAll
        public List<com.soffid.iam.api.PamSession> search​(String jumpServerGroup,
                                                          String url,
                                                          String text,
                                                          String screenshots,
                                                          String user,
                                                          Date since,
                                                          Date until)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        search in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • search

        @PermitAll
        public List<com.soffid.iam.api.PamSession> search​(String jumpServerGroup,
                                                          String url,
                                                          String text,
                                                          String user,
                                                          Date since,
                                                          Date until)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        search in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getVideoSize

        @PermitAll
        public long getVideoSize​(com.soffid.iam.api.PamSession session,
                                 long chapter)
                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getVideoSize in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateKeystrokes

        @PermitAll
        public void generateKeystrokes​(com.soffid.iam.api.PamSession session,
                                       OutputStream stream)
                                throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateKeystrokes in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateVideo

        @PermitAll
        public void generateVideo​(com.soffid.iam.api.PamSession session,
                                  long chapter,
                                  OutputStream stream,
                                  long start,
                                  long end)
                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateVideo in interface com.soffid.iam.service.ejb.PamSessionService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • remove

        @PermitAll
        public void remove​(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        remove in interface com.soffid.iam.service.ejb.PamSessionService
        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()