Codota Logo
SessionDAO.delete
Code IndexAdd Codota 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

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now