public class SessionsAdminResource extends Object
Constructor and Description |
---|
SessionsAdminResource(SessionsAdminController controller) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
expireSession(String randomHash)
Expires the session with given ID
|
RestPage<ApplicationSessionsSearchResultEntity> |
getApplicationSessions(String searchKeyword,
RestPageRequest pageRequest)
Lists the sessions of applications for specified parameters
|
RestPage<UserSessionsSearchResultEntity> |
getUserSessions(String searchKeyword,
Long directoryId,
RestPageRequest pageRequest)
Lists the sessions of users for specified parameters
|
@Inject public SessionsAdminResource(SessionsAdminController controller)
@ExperimentalApi public RestPage<ApplicationSessionsSearchResultEntity> getApplicationSessions(String searchKeyword, @Context RestPageRequest pageRequest)
searchKeyword
- the search keyword for sessions filteringpageRequest
- details about paging@ExperimentalApi public RestPage<UserSessionsSearchResultEntity> getUserSessions(String searchKeyword, Long directoryId, @Context RestPageRequest pageRequest)
searchKeyword
- the search keyword for sessions filteringdirectoryId
- the id of directory for sessions filteringpageRequest
- details about paging@ExperimentalApi public javax.ws.rs.core.Response expireSession(String randomHash)
randomHash
- the randomHash of a session to expireCopyright © 2020 Atlassian. All rights reserved.