congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
SessionDAO.update
Code IndexAdd Tabnine to your IDE (free)

How to use
update
method
in
org.apache.shiro.session.mgt.eis.SessionDAO

Best Java code snippets using org.apache.shiro.session.mgt.eis.SessionDAO.update (Showing top 5 results out of 315)

origin: apache/shiro

protected void onChange(Session session) {
  sessionDAO.update(session);
}
origin: org.apache.shiro/shiro-core

protected void onChange(Session session) {
  sessionDAO.update(session);
}
origin: apache/shiro

sessionDAO.update(eq(session1));
expectLastCall().anyTimes();
replay(sessionDAO);
sessionDAO.update(eq(session1));
replay(sessionDAO);
sm.setTimeout(new DefaultSessionKey(sessionId1), 1);
sessionDAO.update(eq(session1)); //update's the stop timestamp
sessionDAO.delete(session1);
replay(sessionDAO);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.shiro

protected void onChange(Session session) {
  sessionDAO.update(session);
}
origin: com.intoverflow.booster/booster-core

onlineSession.stop();
onlineSession.setStatus(OnlineStatus.OFFLINE);
sessionDAO.update(onlineSession);
request.setAttribute(RESPONSE_REPLY_CODE, ReplyCode.TxnSessionKickedOut);
request.setAttribute(RESPONSE_REDIRECT_URL, shiroEnv.getUserForceLogoutUrl());
  onlineSession.setUserId(principal.getUserId());
sessionDAO.update(onlineSession);
org.apache.shiro.session.mgt.eisSessionDAOupdate

Javadoc

Updates (persists) data from a previously created Session instance in the EIS identified by {@link Session#getId() session.getId()}}. This effectively propagates the data in the argument to the EIS record previously saved.

In addition to UnknownSessionException, implementations are free to throw any other exceptions that might occur due to integrity violation constraints or other EIS related errors.

Popular methods of SessionDAO

  • readSession
    Retrieves the session from the EIS uniquely identified by the specified sessionId.
  • delete
    Deletes the associated EIS record of the specified session. If there never existed a session EIS rec
  • create
    Inserts a new Session record into the underling EIS (e.g. Relational database, file system, persiste
  • getActiveSessions
    Returns all sessions in the EIS that are considered active, meaning all sessions that haven't been s

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JButton (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now