public class AmetysSession extends XASessionImpl
| Modifier and Type | Field and Description |
|---|---|
private AmetysRepository |
_repository |
SYSTEM_PROPERTY_DEFAULT_TRANSACTION_TIMEOUTattributes, AUTO_FIX_CORRUPTIONS, context, DISABLE_CLUSTER_SYNC_ON_REFRESH, listeners, loginContext, namePathResolver, repositoryContext, subject, userId, versionMgrACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTYTMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Modifier | Constructor and Description |
|---|---|
protected |
AmetysSession(RepositoryContext repositoryCtx,
AuthContext loginCtx,
WorkspaceConfig wspConfig)
Create a new Session.
|
|
AmetysSession(RepositoryContext repositoryCtx,
Subject sub,
WorkspaceConfig wspConfig)
Create a new Session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forceLogout()
Logout this Session without calling the LogoutManager.
|
void |
logout() |
associate, commit, createVersionManager, end, forget, getTransactionTimeout, getXAResource, isSameRM, prepare, recover, rollback, setTransactionTimeout, startaddListener, addLockToken, autoFixCorruptions, checkFormat, checkPermission, clusterSyncOnRefresh, createAccessManager, createDataStoreGarbageCollector, createItemManager, createObservationManager, createSession, createSessionItemStateManager, finalize, getAccessControlManager, getAccessManager, getAttribute, getAttributeNames, getHierarchyManager, getImportContentHandler, getInternalVersionManager, getItem, getItemManager, getJCRName, getJCRPath, getLocks, getLockTokens, getNode, getNodeById, getNodeByIdentifier, getNodeByUUID, getNodeTypeManager, getPath, getPrefix, getPrincipalManager, getProperty, getQName, getQPath, getQPath, getRepository, getRetentionManager, getRetentionRegistry, getRootNode, getSubject, getURI, getUserID, getUserManager, getValueFactory, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, isAdmin, isLive, isSystem, itemExists, move, nodeExists, notifyLoggedOut, notifyLoggingOut, propertyExists, refresh, removeItem, removeListener, removeLockToken, retrieveUserId, save, setAttribute, setNamespacePrefix, toStringexportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, importXMLclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefixprivate AmetysRepository _repository
protected AmetysSession(RepositoryContext repositoryCtx, AuthContext loginCtx, WorkspaceConfig wspConfig) throws AccessDeniedException, RepositoryException
repositoryCtx - repository contextloginCtx - login context containing authenticated subjectwspConfig - workspace configurationAccessDeniedException - if the given subject is not granted access
to the specified workspaceRepositoryException - if another error occurspublic AmetysSession(RepositoryContext repositoryCtx, Subject sub, WorkspaceConfig wspConfig) throws AccessDeniedException, RepositoryException
repositoryCtx - repository contextsub - authenticated subjectwspConfig - workspace configurationAccessDeniedException - if the given subject is not granted access
to the specified workspaceRepositoryException - if another error occurspublic void logout()
logout in interface Sessionlogout in class XASessionImplpublic void forceLogout()