Package com.soffid.iam.service.ejb
Class PamSessionServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description PamSessionServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.JumpServerGroup
create(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
com.soffid.iam.api.NewPamSession
createJumpServerSession(com.soffid.iam.api.Account account)
com.soffid.iam.api.NewPamSession
createJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor)
com.soffid.iam.api.NewPamSession
createJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor, String pamPolicy)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
List<com.soffid.iam.api.JumpServerGroup>
findJumpServerGroups()
com.soffid.iam.api.PamSession
findSession(String serverGroup, String sessionId)
void
generateKeystrokes(com.soffid.iam.api.PamSession session, OutputStream stream)
void
generateVideo(com.soffid.iam.api.PamSession session, long chapter, OutputStream stream, long start, long end)
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
javax.ejb.SessionContext
getSessionContext()
long
getVideoSize(com.soffid.iam.api.PamSession session, long chapter)
protected void
onEjbCreate()
protected void
onEjbRemove()
void
remove(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
List<com.soffid.iam.api.PamSession>
search(String jumpServerGroup, String url, String text, String screenshots, String user, Date since, Date until)
List<com.soffid.iam.api.PamSession>
search(String jumpServerGroup, String url, String text, String user, Date since, Date until)
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.com.soffid.iam.api.JumpServerGroup
update(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.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 interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.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()
-
-