Package com.soffid.iam.service
Interface PamSessionService
-
public interface PamSessionServiceService PamSessionService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckJumpServerSession(Session sessio)Operation checkJumpServerSession Checks a server session is upJumpServerGroupcreate(JumpServerGroup jumpServerGroup)Operation createNewPamSessioncreateCustomJumpServerSession(Account account, String sourceIp, TipusSessio type, String info)Operation createCustomJumpServerSession Creates a jump server session and returns the session URL.NewPamSessioncreateJumpServerSession(Account account)Operation createJumpServerSession Creates a jump server session and returns the session URLNewPamSessioncreateJumpServerSession(Account account, String entryPointDescriptor)Operation createJumpServerSession Creates a jump server session and returns the session URLNewPamSessioncreateJumpServerSession(Account account, String entryPointDescriptor, String pamPolicy)Operation createJumpServerSession Creates a jump server session and returns the session URLList<JumpServerGroup>findJumpServerGroups()Operation findJumpServerGroupsPamSessionfindSession(String serverGroup, String sessionId)Operation findSession Retrieves a pam session descriptorvoidgenerateKeystrokes(PamSession session, OutputStream stream)Operation generateKeystrokes Retrieves a pam session keystrokesvoidgenerateVideo(PamSession session, long chapter, OutputStream stream, long start, long end)Operation generateVideo Retrieves a pam session videoIntegergetActiveSessions(String server)Operation getActiveSessionsLonggetConsoleFreeSpace(String jumpServerGroup)Operation getConsoleFreeSpaceLonggetConsoleUsedSpace(String jumpServerGroup)Operation getConsoleUsedSpacelonggetVideoSize(PamSession session, long chapter)Operation getVideoSize Retrieves a pam session videovoidremove(JumpServerGroup jumpServerGroup)Operation removeList<PamSession>search(String jumpServerGroup, String url, String text, String screenshots, String user, Date since, Date until)Operation search Searches in pam sessions logList<PamSession>search(String jumpServerGroup, String url, String text, String user, Date since, Date until)Operation search Searches in pam sessions logJumpServerGroupupdate(JumpServerGroup jumpServerGroup)Operation update
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkJumpServerSession
boolean checkJumpServerSession(Session sessio) throws InternalErrorException
Operation checkJumpServerSession Checks a server session is up- Parameters:
sessio-- Returns:
- Throws:
InternalErrorException
-
create
JumpServerGroup create(JumpServerGroup jumpServerGroup) throws InternalErrorException
Operation create- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
update
JumpServerGroup update(JumpServerGroup jumpServerGroup) throws InternalErrorException
Operation update- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
createCustomJumpServerSession
NewPamSession createCustomJumpServerSession(Account account, String sourceIp, TipusSessio type, String info) throws InternalErrorException
Operation createCustomJumpServerSession Creates a jump server session and returns the session URL. Internal method for SSH and RDP proxies- Parameters:
account-sourceIp-type-info-- Returns:
- Throws:
InternalErrorException
-
createJumpServerSession
NewPamSession createJumpServerSession(Account account) throws InternalErrorException
Operation createJumpServerSession Creates a jump server session and returns the session URL- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
createJumpServerSession
NewPamSession createJumpServerSession(Account account, String entryPointDescriptor) throws InternalErrorException
Operation createJumpServerSession Creates a jump server session and returns the session URL- Parameters:
account-entryPointDescriptor-- Returns:
- Throws:
InternalErrorException
-
createJumpServerSession
NewPamSession createJumpServerSession(Account account, String entryPointDescriptor, String pamPolicy) throws InternalErrorException
Operation createJumpServerSession Creates a jump server session and returns the session URL- Parameters:
account-entryPointDescriptor-pamPolicy-- Returns:
- Throws:
InternalErrorException
-
findSession
PamSession findSession(String serverGroup, String sessionId) throws InternalErrorException
Operation findSession Retrieves a pam session descriptor- Parameters:
serverGroup-sessionId-- Returns:
- Throws:
InternalErrorException
-
getActiveSessions
Integer getActiveSessions(String server) throws InternalErrorException
Operation getActiveSessions- Parameters:
server-- Returns:
- Throws:
InternalErrorException
-
getConsoleFreeSpace
Long getConsoleFreeSpace(String jumpServerGroup) throws InternalErrorException
Operation getConsoleFreeSpace- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
getConsoleUsedSpace
Long getConsoleUsedSpace(String jumpServerGroup) throws InternalErrorException
Operation getConsoleUsedSpace- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
findJumpServerGroups
List<JumpServerGroup> findJumpServerGroups() throws InternalErrorException
Operation findJumpServerGroups- Returns:
- Throws:
InternalErrorException
-
search
List<PamSession> search(String jumpServerGroup, String url, String text, String screenshots, String user, Date since, Date until) throws InternalErrorException
Operation search Searches in pam sessions log- Parameters:
jumpServerGroup-url-text-screenshots-user-since-until-- Returns:
- Throws:
InternalErrorException
-
search
List<PamSession> search(String jumpServerGroup, String url, String text, String user, Date since, Date until) throws InternalErrorException
Operation search Searches in pam sessions log- Parameters:
jumpServerGroup-url-text-user-since-until-- Returns:
- Throws:
InternalErrorException
-
getVideoSize
long getVideoSize(PamSession session, long chapter) throws InternalErrorException
Operation getVideoSize Retrieves a pam session video- Parameters:
session-chapter-- Returns:
- Throws:
InternalErrorException
-
generateKeystrokes
void generateKeystrokes(PamSession session, OutputStream stream) throws InternalErrorException
Operation generateKeystrokes Retrieves a pam session keystrokes- Parameters:
session-stream-- Throws:
InternalErrorException
-
generateVideo
void generateVideo(PamSession session, long chapter, OutputStream stream, long start, long end) throws InternalErrorException
Operation generateVideo Retrieves a pam session video- Parameters:
session-chapter-stream-start-end-- Throws:
InternalErrorException
-
remove
void remove(JumpServerGroup jumpServerGroup) throws InternalErrorException
Operation remove- Parameters:
jumpServerGroup-- Throws:
InternalErrorException
-
-