Tabnine Logo
SessionDAO.delete
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/shiro

protected void delete(Session session) {
  sessionDAO.delete(session);
}
origin: wuyouzhuguli/FEBS-Shiro

@Override
public boolean forceLogout(String sessionId) {
  Session session = sessionDAO.readSession(sessionId);
  session.setTimeout(0);
  session.stop();
  sessionDAO.delete(session);
  return true;
}
origin: org.apache.shiro/shiro-core

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

sessionDAO.delete(session1);
replay(sessionDAO);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.shiro

protected void delete(Session session) {
  sessionDAO.delete(session);
}
origin: com.github.fartherp/shiro-redisson

public void onStop(Session session) {
  LOGGER.debug("session onStop ID: " + session.getId());
  this.sessionDAO.delete(session);
}
origin: com.github.fartherp/shiro-redisson

  public void onExpiration(Session session) {
    LOGGER.debug("session onExpiration ID: " + session.getId());
    this.sessionDAO.delete(session);
    this.cachingRealms.forEach(o -> o.onLogout(SecurityUtils.getSubject().getPrincipals()));
  }
}
org.apache.shiro.session.mgt.eisSessionDAOdelete

Javadoc

Deletes the associated EIS record of the specified session. If there never existed a session EIS record with the identifier of Session#getId(), then this method does nothing.

Popular methods of SessionDAO

  • readSession
    Retrieves the session from the EIS uniquely identified by the specified sessionId.
  • update
    Updates (persists) data from a previously created Session instance in the EIS identified by {@link S
  • 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

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Notification (javax.management)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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