Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-158

Date AbstractSessionManager.getLastAccessTime(Serializable) returns start time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Session Management
    • None

    Description

      Direct from the class:

          public Date getStartTimestamp(Serializable sessionId) {
              return getSession(sessionId).getStartTimestamp();
          }
      
          public Date getLastAccessTime(Serializable sessionId) {
              return getSession(sessionId).getStartTimestamp();
          }
      

      It seems like getLastAccessTime should be:

          public Date getLastAccessTime(Serializable sessionId) {
              return getSession(sessionId).getLastAccessTime();
          }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bturner Bryan Turner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: