Uses of Class
org.mycore.common.MCRSession
Package
Description
-
Uses of MCRSession in org.mycore.common
Modifier and TypeMethodDescriptionstatic MCRSession
MCRSessionMgr.getCurrentSession()
This method returns the unique MyCoRe session object for the current Thread.static MCRSession
MCRSessionMgr.getSession
(String sessionID) Returns the MCRSession for the given sessionID.Modifier and TypeMethodDescriptionstatic Map<String,
MCRSession> MCRSessionMgr.getAllSessions()
MCRSessionResolver.resolveSession()
Tries to resolve theMCRSession
throught theMCRSessionMgr
Modifier and TypeMethodDescriptionstatic void
MCRSessionMgr.setCurrentSession
(MCRSession theSession) This method sets a MyCoRe session object for the current Thread. -
Uses of MCRSession in org.mycore.common.events
Modifier and TypeMethodDescriptionMCRSessionEvent.getSession()
Return the MCRSession on which this event occured.ModifierConstructorDescriptionMCRSessionEvent
(MCRSession session, MCRSessionEvent.Type type, int concurrentAccessors) -
Uses of MCRSession in org.mycore.frontend
Modifier and TypeMethodDescriptionstatic void
MCRFrontendUtil.configureSession
(MCRSession session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Uses of MCRSession in org.mycore.frontend.jersey
Modifier and TypeMethodDescriptionstatic com.auth0.jwt.JWTCreator.Builder
MCRJWTUtil.getJWTBuilder
(MCRSession mcrSession) static com.auth0.jwt.JWTCreator.Builder
MCRJWTUtil.getJWTBuilder
(MCRSession mcrSession, String[] userAttributes, String[] sessionAttributes) -
Uses of MCRSession in org.mycore.frontend.servlets
Modifier and TypeFieldDescriptionprotected MCRSession
MCRContainerLoginServlet.ContainerUserInformation.session
Modifier and TypeMethodDescriptionstatic MCRSession
MCRServlet.getSession
(jakarta.servlet.http.HttpServletRequest req) -
Uses of MCRSession in org.mycore.frontend.support
Modifier and TypeMethodDescriptionstatic MCRSession
MCRObjectIDLockTable.getLocker
(MCRObjectID objectId) -
Uses of MCRSession in org.mycore.mcr.acl.accesskey
Modifier and TypeMethodDescriptionstatic void
MCRAccessKeyUtils.addAccessKeySecret
(MCRSession session, MCRObjectID objectId, String value) static void
MCRAccessKeyUtils.addAccessKeySecretForObject
(MCRSession session, MCRObjectID objectId, String value) static String
MCRAccessKeyUtils.getAccessKeySecret
(MCRSession session, MCRObjectID objectId) Fetches access key value from session attribute for aMCRObjectID
.static MCRAccessKey
MCRAccessKeyUtils.getLinkedAccessKey
(MCRSession session, MCRObjectID objectId) Retrieves linked access key if exists from sessionstatic void
MCRAccessKeyUtils.removeAccessKeySecret
(MCRSession session, MCRObjectID objectId) Deletes the access key value attribute from givenMCRSession
forMCRObjectID
. -
Uses of MCRSession in org.mycore.restapi.v1
Modifier and TypeMethodDescriptionMCRRestAPIAuthentication.getToken
(MCRSession session, String remoteIp) -
Uses of MCRSession in org.mycore.util.concurrent
ModifierConstructorDescriptionMCRTransactionableCallable
(Callable<V> callable, MCRSession session) Creates a newCallable
encapsulating theMCRTransactionableCallable.call()
method with a new a database transaction.MCRTransactionableRunnable
(Runnable runnable, MCRSession session) Creates a newRunnable
encapsulating theMCRTransactionableRunnable.run()
method with a new a database transaction.