Package com.soffid.iam.service
Class PamSessionServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.PamSessionServiceBase
-
- com.soffid.iam.service.PamSessionServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.PamSessionService
public class PamSessionServiceImpl extends PamSessionServiceBase
-
-
Constructor Summary
Constructors Constructor Description PamSessionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanhandleCheckJumpServerSession(com.soffid.iam.api.Session sessio)protected com.soffid.iam.api.JumpServerGrouphandleCreate(com.soffid.iam.api.JumpServerGroup jumpServerGroup)protected com.soffid.iam.api.NewPamSessionhandleCreateCustomJumpServerSession(com.soffid.iam.api.Account account, String sourceIp, es.caib.seycon.ng.comu.TipusSessio type, String info)protected com.soffid.iam.api.NewPamSessionhandleCreateJumpServerSession(com.soffid.iam.api.Account account)protected com.soffid.iam.api.NewPamSessionhandleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor)protected com.soffid.iam.api.NewPamSessionhandleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor, String pamPolicy)protected List<com.soffid.iam.api.JumpServerGroup>handleFindJumpServerGroups()protected com.soffid.iam.api.PamSessionhandleFindSession(String serverGroup, String sessionId)protected voidhandleGenerateKeystrokes(com.soffid.iam.api.PamSession session, OutputStream stream)voidhandleGenerateVideo(com.soffid.iam.api.PamSession session, long chapter, OutputStream stream, long start, long end)IntegerhandleGetActiveSessions(String server)protected LonghandleGetConsoleFreeSpace(String jumpServerGroup)protected LonghandleGetConsoleUsedSpace(String jumpServerGroup)longhandleGetVideoSize(com.soffid.iam.api.PamSession session, long chapter)protected voidhandleRemove(com.soffid.iam.api.JumpServerGroup jumpServerGroup)protected List<com.soffid.iam.api.PamSession>handleSearch(String jumpServerGroup, String url, String text, String screenshots, String user, Date since, Date until)protected List<com.soffid.iam.api.PamSession>handleSearch(String jumpServerGroup, String url, String text, String user, Date since, Date until)protected com.soffid.iam.api.JumpServerGrouphandleUpdate(com.soffid.iam.api.JumpServerGroup jumpServerGroup)StringselectJumpServer(JumpServerGroupEntity jumpServerGroup)-
Methods inherited from class com.soffid.iam.service.PamSessionServiceBase
checkJumpServerSession, create, createCustomJumpServerSession, createJumpServerSession, createJumpServerSession, createJumpServerSession, findJumpServerGroups, findSession, generateKeystrokes, generateVideo, getAccessLogEntityDao, getAccountEntityDao, getAccountService, getActiveSessions, getAuditEntityDao, getConsoleFreeSpace, getConsoleUsedSpace, getDispatcherService, getHostEntityDao, getJumpServerEntityDao, getJumpServerGroupEntityDao, getNetworkService, getPamSecurityHandlerService, getPrincipal, getServiceEntityDao, getSessionEntityDao, getUserEntityDao, getVideoSize, remove, search, search, setAccessLogEntityDao, setAccountEntityDao, setAccountService, setAuditEntityDao, setDispatcherService, setHostEntityDao, setJumpServerEntityDao, setJumpServerGroupEntityDao, setNetworkService, setPamSecurityHandlerService, setServiceEntityDao, setSessionEntityDao, setUserEntityDao, update
-
-
-
-
Method Detail
-
handleCreate
protected com.soffid.iam.api.JumpServerGroup handleCreate(com.soffid.iam.api.JumpServerGroup jumpServerGroup) throws Exception- Specified by:
handleCreatein classPamSessionServiceBase- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.JumpServerGroup handleUpdate(com.soffid.iam.api.JumpServerGroup jumpServerGroup) throws Exception- Specified by:
handleUpdatein classPamSessionServiceBase- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.JumpServerGroup jumpServerGroup) throws Exception- Specified by:
handleRemovein classPamSessionServiceBase- Throws:
Exception
-
handleCreateJumpServerSession
protected com.soffid.iam.api.NewPamSession handleCreateJumpServerSession(com.soffid.iam.api.Account account) throws Exception- Specified by:
handleCreateJumpServerSessionin classPamSessionServiceBase- Throws:
Exception
-
handleCreateJumpServerSession
protected com.soffid.iam.api.NewPamSession handleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor) throws Exception- Specified by:
handleCreateJumpServerSessionin classPamSessionServiceBase- Throws:
Exception
-
handleCreateJumpServerSession
protected com.soffid.iam.api.NewPamSession handleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor, String pamPolicy) throws Exception- Specified by:
handleCreateJumpServerSessionin classPamSessionServiceBase- Throws:
Exception
-
selectJumpServer
public String selectJumpServer(JumpServerGroupEntity jumpServerGroup) throws MalformedURLException, es.caib.seycon.ng.exception.InternalErrorException, org.json.JSONException
- Throws:
MalformedURLExceptiones.caib.seycon.ng.exception.InternalErrorExceptionorg.json.JSONException
-
handleFindJumpServerGroups
protected List<com.soffid.iam.api.JumpServerGroup> handleFindJumpServerGroups() throws Exception
- Specified by:
handleFindJumpServerGroupsin classPamSessionServiceBase- Throws:
Exception
-
handleFindSession
protected com.soffid.iam.api.PamSession handleFindSession(String serverGroup, String sessionId) throws Exception
- Specified by:
handleFindSessionin classPamSessionServiceBase- Throws:
Exception
-
handleGenerateKeystrokes
protected void handleGenerateKeystrokes(com.soffid.iam.api.PamSession session, OutputStream stream) throws Exception- Specified by:
handleGenerateKeystrokesin classPamSessionServiceBase- Throws:
Exception
-
handleGenerateVideo
public void handleGenerateVideo(com.soffid.iam.api.PamSession session, long chapter, OutputStream stream, long start, long end) throws es.caib.seycon.ng.exception.InternalErrorException, IOException- Specified by:
handleGenerateVideoin classPamSessionServiceBase- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionIOException
-
handleGetVideoSize
public long handleGetVideoSize(com.soffid.iam.api.PamSession session, long chapter) throws es.caib.seycon.ng.exception.InternalErrorException, IOException- Specified by:
handleGetVideoSizein classPamSessionServiceBase- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionIOException
-
handleGetActiveSessions
public Integer handleGetActiveSessions(String server) throws es.caib.seycon.ng.exception.InternalErrorException, MalformedURLException, org.json.JSONException
- Specified by:
handleGetActiveSessionsin classPamSessionServiceBase- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionMalformedURLExceptionorg.json.JSONException
-
handleGetConsoleFreeSpace
protected Long handleGetConsoleFreeSpace(String jumpServerGroup) throws Exception
- Specified by:
handleGetConsoleFreeSpacein classPamSessionServiceBase- Throws:
Exception
-
handleGetConsoleUsedSpace
protected Long handleGetConsoleUsedSpace(String jumpServerGroup) throws Exception
- Specified by:
handleGetConsoleUsedSpacein classPamSessionServiceBase- Throws:
Exception
-
handleCheckJumpServerSession
protected boolean handleCheckJumpServerSession(com.soffid.iam.api.Session sessio) throws Exception- Specified by:
handleCheckJumpServerSessionin classPamSessionServiceBase- Throws:
Exception
-
handleSearch
protected List<com.soffid.iam.api.PamSession> handleSearch(String jumpServerGroup, String url, String text, String user, Date since, Date until) throws Exception
- Specified by:
handleSearchin classPamSessionServiceBase- Throws:
Exception
-
handleSearch
protected List<com.soffid.iam.api.PamSession> handleSearch(String jumpServerGroup, String url, String text, String screenshots, String user, Date since, Date until) throws Exception
- Specified by:
handleSearchin classPamSessionServiceBase- Throws:
Exception
-
handleCreateCustomJumpServerSession
protected com.soffid.iam.api.NewPamSession handleCreateCustomJumpServerSession(com.soffid.iam.api.Account account, String sourceIp, es.caib.seycon.ng.comu.TipusSessio type, String info) throws Exception- Specified by:
handleCreateCustomJumpServerSessionin classPamSessionServiceBase- Throws:
Exception
-
-