/** * Persists the given session instance to an underlying EIS (Enterprise Information System). This implementation * delegates and calls * <code>this.{@link SessionDAO sessionDAO}.{@link SessionDAO#create(org.apache.shiro.session.Session) create}(session);<code> * * @param session the Session instance to persist to the underlying EIS. */ protected void create(Session session) { if (log.isDebugEnabled()) { log.debug("Creating new EIS record for new session instance [" + session + "]"); } sessionDAO.create(session); }
expect(sessionDAO.create(eq(session1))).andReturn(sessionId1); sessionDAO.update(eq(session1)); expectLastCall().anyTimes();
/** * Persists the given session instance to an underlying EIS (Enterprise Information System). This implementation * delegates and calls * <code>this.{@link SessionDAO sessionDAO}.{@link SessionDAO#create(org.apache.shiro.session.Session) create}(session);<code> * * @param session the Session instance to persist to the underlying EIS. */ protected void create(Session session) { if (log.isDebugEnabled()) { log.debug("Creating new EIS record for new session instance [" + session + "]"); } sessionDAO.create(session); }
/** * Persists the given session instance to an underlying EIS (Enterprise Information System). This implementation * delegates and calls * <code>this.{@link SessionDAO sessionDAO}.{@link SessionDAO#create(org.apache.shiro.session.Session) create}(session);<code> * * @param session the Session instance to persist to the underlying EIS. */ protected void create(Session session) { if (log.isDebugEnabled()) { log.debug("Creating new EIS record for new session instance [" + session + "]"); } sessionDAO.create(session); }