Package com.soffid.iam.pam.service
Interface PamSessionService
public interface PamSessionService
Service PamSessionService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckJumpServerSession(Session sessio) Operation checkJumpServerSession Checks a server session is upcreate(JumpServerGroup jumpServerGroup) Operation createcreateCustomJumpServerSession(Account account, String sourceIp, SessionType type, String info) Operation createCustomJumpServerSession Creates a jump server session and returns the session URL.createJumpServerSession(Account account) Operation createJumpServerSession Creates a jump server session and returns the session URLcreateJumpServerSession(Account account, String entryPointPath, String entryPointDescriptor) Operation createJumpServerSession Creates a jump server session and returns the session URLcreateJumpServerSession(Account account, String entryPointPath, String entryPointDescriptor, String pamPolicy) Operation createJumpServerSession Creates a jump server session and returns the session URLcreateManualJumpServerSession(String accountName, Password accountPassword, String entryPointPath, String entryPointDescriptor, String pamPolicy) Operation createManualJumpServerSession Creates a manual jump server session and returns the session URLOperation findJumpServerGroupsfindSession(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 videogetActiveSessions(String server) Operation getActiveSessionsgetConsoleFreeSpace(String jumpServerGroup) Operation getConsoleFreeSpacegetConsoleUsedSpace(String jumpServerGroup) Operation getConsoleUsedSpacelonggetVideoSize(PamSession session, long chapter) Operation getVideoSize Retrieves a pam session videovoidremove(JumpServerGroup jumpServerGroup) Operation removesearch(String jumpServerGroup, String url, String text, String screenshots, String user, Date since, Date until) Operation search Searches in pam sessions logOperation search Searches in pam sessions logupdate(JumpServerGroup jumpServerGroup) Operation update
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
checkJumpServerSession
Operation checkJumpServerSession Checks a server session is up- Parameters:
sessio-- Returns:
- Throws:
InternalErrorException
-
create
Operation create- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
update
Operation update- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
createCustomJumpServerSession
NewPamSession createCustomJumpServerSession(Account account, String sourceIp, SessionType 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
Operation createJumpServerSession Creates a jump server session and returns the session URL- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
createJumpServerSession
NewPamSession createJumpServerSession(Account account, String entryPointPath, String entryPointDescriptor) throws InternalErrorException Operation createJumpServerSession Creates a jump server session and returns the session URL- Parameters:
account-entryPointPath-entryPointDescriptor-- Returns:
- Throws:
InternalErrorException
-
createJumpServerSession
NewPamSession createJumpServerSession(Account account, String entryPointPath, String entryPointDescriptor, String pamPolicy) throws InternalErrorException Operation createJumpServerSession Creates a jump server session and returns the session URL- Parameters:
account-entryPointPath-entryPointDescriptor-pamPolicy-- Returns:
- Throws:
InternalErrorException
-
createManualJumpServerSession
NewPamSession createManualJumpServerSession(String accountName, Password accountPassword, String entryPointPath, String entryPointDescriptor, String pamPolicy) throws InternalErrorException Operation createManualJumpServerSession Creates a manual jump server session and returns the session URL- Parameters:
accountName-accountPassword-entryPointPath-entryPointDescriptor-pamPolicy-- Returns:
- Throws:
InternalErrorException
-
findSession
Operation findSession Retrieves a pam session descriptor- Parameters:
serverGroup-sessionId-- Returns:
- Throws:
InternalErrorException
-
getActiveSessions
Operation getActiveSessions- Parameters:
server-- Returns:
- Throws:
InternalErrorException
-
getConsoleFreeSpace
Operation getConsoleFreeSpace- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
getConsoleUsedSpace
Operation getConsoleUsedSpace- Parameters:
jumpServerGroup-- Returns:
- Throws:
InternalErrorException
-
findJumpServerGroups
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
Operation getVideoSize Retrieves a pam session video- Parameters:
session-chapter-- Returns:
- Throws:
InternalErrorException
-
generateKeystrokes
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
Operation remove- Parameters:
jumpServerGroup-- Throws:
InternalErrorException
-