[jira] [Created] (SHIRO-623) Session Management Page - Strange code in documentation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (SHIRO-623) Session Management Page - Strange code in documentation

JIRA jira@apache.org
Kamal created SHIRO-623:
---------------------------

             Summary: Session Management Page - Strange code in documentation
                 Key: SHIRO-623
                 URL: https://issues.apache.org/jira/browse/SHIRO-623
             Project: Shiro
          Issue Type: Documentation
            Reporter: Kamal


On this page:-

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

I imagine this:-
{code}
Serializable sessionId = //get from the inbound request or remote method invocation payload Subject requestSubject = new Subject.Builder().sessionId(sessionId).buildSubject();
{code}

Should be this:-

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Loading...