Uses of Class
org.mycore.common.MCRSession
Packages that use MCRSession
Package
Description
-
Uses of MCRSession in org.mycore.common
Methods in org.mycore.common that return MCRSessionModifier 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.Methods in org.mycore.common that return types with arguments of type MCRSessionModifier and TypeMethodDescriptionstatic Map<String,
MCRSession> MCRSessionMgr.getAllSessions()
MCRSessionResolver.resolveSession()
Tries to resolve theMCRSession
throught theMCRSessionMgr
Methods in org.mycore.common with parameters of type MCRSessionModifier and TypeMethodDescriptionstatic void
MCRSessionMgr.setCurrentSession
(MCRSession theSession) This method sets a MyCoRe session object for the current Thread.Constructors in org.mycore.common with parameters of type MCRSession -
Uses of MCRSession in org.mycore.common.events
Methods in org.mycore.common.events that return MCRSessionModifier and TypeMethodDescriptionMCRSessionEvent.getSession()
Return the MCRSession on which this event occured.Constructors in org.mycore.common.events with parameters of type MCRSessionModifierConstructorDescriptionMCRSessionEvent
(MCRSession session, MCRSessionEvent.Type type, int concurrentAccessors) -
Uses of MCRSession in org.mycore.frontend
Methods in org.mycore.frontend with parameters of type MCRSessionModifier 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
Methods in org.mycore.frontend.jersey with parameters of type MCRSessionModifier 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
Fields in org.mycore.frontend.servlets declared as MCRSessionModifier and TypeFieldDescriptionprotected MCRSession
MCRContainerLoginServlet.ContainerUserInformation.session
Methods in org.mycore.frontend.servlets that return MCRSessionModifier and TypeMethodDescriptionstatic MCRSession
MCRServlet.getSession
(jakarta.servlet.http.HttpServletRequest req) Constructors in org.mycore.frontend.servlets with parameters of type MCRSession -
Uses of MCRSession in org.mycore.frontend.support
Methods in org.mycore.frontend.support that return MCRSessionModifier and TypeMethodDescriptionstatic MCRSession
MCRObjectIDLockTable.getLocker
(MCRObjectID objectId) Methods in org.mycore.frontend.support with parameters of type MCRSession -
Uses of MCRSession in org.mycore.mcr.acl.accesskey
Methods in org.mycore.mcr.acl.accesskey with parameters of type MCRSessionModifier 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
Methods in org.mycore.restapi.v1 with parameters of type MCRSessionModifier and TypeMethodDescriptionMCRRestAPIAuthentication.getToken
(MCRSession session, String remoteIp) -
Uses of MCRSession in org.mycore.util.concurrent
Fields in org.mycore.util.concurrent declared as MCRSessionConstructors in org.mycore.util.concurrent with parameters of type MCRSessionModifierConstructorDescriptionMCRTransactionableCallable
(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.