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

Session Management Page - Strange code in documentation

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Serializable sessionId = //get from the inbound request or remote method invocation payload Subject requestSubject = new Subject.Builder().sessionId(sessionId).buildSubject();

    Description

      On this page:-

      http://shiro.apache.org/session-management.html#session-storage

      I imagine this:-

      Serializable sessionId = //get from the inbound request or remote method invocation payload Subject requestSubject = new Subject.Builder().sessionId(sessionId).buildSubject();
      

      Should be this:-

      Serializable sessionId = Subject requestSubject = new Subject.Builder().sessionId(sessionId).buildSubject();  //get from the inbound request or remote method invocation payload 
      

      Attachments

        Activity

          People

            fpapon Francois Papon
            kamal.bhatt@gmail.com Kamal
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: