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 boolean
handleCheckJumpServerSession(com.soffid.iam.api.Session sessio)
protected com.soffid.iam.api.JumpServerGroup
handleCreate(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
protected com.soffid.iam.api.NewPamSession
handleCreateCustomJumpServerSession(com.soffid.iam.api.Account account, String sourceIp, es.caib.seycon.ng.comu.TipusSessio type, String info)
protected com.soffid.iam.api.NewPamSession
handleCreateJumpServerSession(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.NewPamSession
handleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor)
protected com.soffid.iam.api.NewPamSession
handleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor, String pamPolicy)
protected List<com.soffid.iam.api.JumpServerGroup>
handleFindJumpServerGroups()
protected com.soffid.iam.api.PamSession
handleFindSession(String serverGroup, String sessionId)
protected void
handleGenerateKeystrokes(com.soffid.iam.api.PamSession session, OutputStream stream)
void
handleGenerateVideo(com.soffid.iam.api.PamSession session, long chapter, OutputStream stream, long start, long end)
Integer
handleGetActiveSessions(String server)
protected Long
handleGetConsoleFreeSpace(String jumpServerGroup)
protected Long
handleGetConsoleUsedSpace(String jumpServerGroup)
long
handleGetVideoSize(com.soffid.iam.api.PamSession session, long chapter)
protected void
handleRemove(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.JumpServerGroup
handleUpdate(com.soffid.iam.api.JumpServerGroup jumpServerGroup)
String
selectJumpServer(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:
handleCreate
in classPamSessionServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.JumpServerGroup handleUpdate(com.soffid.iam.api.JumpServerGroup jumpServerGroup) throws Exception
- Specified by:
handleUpdate
in classPamSessionServiceBase
- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.JumpServerGroup jumpServerGroup) throws Exception
- Specified by:
handleRemove
in classPamSessionServiceBase
- Throws:
Exception
-
handleCreateJumpServerSession
protected com.soffid.iam.api.NewPamSession handleCreateJumpServerSession(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCreateJumpServerSession
in classPamSessionServiceBase
- Throws:
Exception
-
handleCreateJumpServerSession
protected com.soffid.iam.api.NewPamSession handleCreateJumpServerSession(com.soffid.iam.api.Account account, String entryPointDescriptor) throws Exception
- Specified by:
handleCreateJumpServerSession
in 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:
handleCreateJumpServerSession
in classPamSessionServiceBase
- Throws:
Exception
-
selectJumpServer
public String selectJumpServer(JumpServerGroupEntity jumpServerGroup) throws MalformedURLException, es.caib.seycon.ng.exception.InternalErrorException, org.json.JSONException
- Throws:
MalformedURLException
es.caib.seycon.ng.exception.InternalErrorException
org.json.JSONException
-
handleFindJumpServerGroups
protected List<com.soffid.iam.api.JumpServerGroup> handleFindJumpServerGroups() throws Exception
- Specified by:
handleFindJumpServerGroups
in classPamSessionServiceBase
- Throws:
Exception
-
handleFindSession
protected com.soffid.iam.api.PamSession handleFindSession(String serverGroup, String sessionId) throws Exception
- Specified by:
handleFindSession
in classPamSessionServiceBase
- Throws:
Exception
-
handleGenerateKeystrokes
protected void handleGenerateKeystrokes(com.soffid.iam.api.PamSession session, OutputStream stream) throws Exception
- Specified by:
handleGenerateKeystrokes
in 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:
handleGenerateVideo
in classPamSessionServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
IOException
-
handleGetVideoSize
public long handleGetVideoSize(com.soffid.iam.api.PamSession session, long chapter) throws es.caib.seycon.ng.exception.InternalErrorException, IOException
- Specified by:
handleGetVideoSize
in classPamSessionServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
IOException
-
handleGetActiveSessions
public Integer handleGetActiveSessions(String server) throws es.caib.seycon.ng.exception.InternalErrorException, MalformedURLException, org.json.JSONException
- Specified by:
handleGetActiveSessions
in classPamSessionServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
MalformedURLException
org.json.JSONException
-
handleGetConsoleFreeSpace
protected Long handleGetConsoleFreeSpace(String jumpServerGroup) throws Exception
- Specified by:
handleGetConsoleFreeSpace
in classPamSessionServiceBase
- Throws:
Exception
-
handleGetConsoleUsedSpace
protected Long handleGetConsoleUsedSpace(String jumpServerGroup) throws Exception
- Specified by:
handleGetConsoleUsedSpace
in classPamSessionServiceBase
- Throws:
Exception
-
handleCheckJumpServerSession
protected boolean handleCheckJumpServerSession(com.soffid.iam.api.Session sessio) throws Exception
- Specified by:
handleCheckJumpServerSession
in 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:
handleSearch
in 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:
handleSearch
in 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:
handleCreateCustomJumpServerSession
in classPamSessionServiceBase
- Throws:
Exception
-
-