You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Kamal (JIRA)" <ji...@apache.org> on 2017/05/04 03:49:04 UTC

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

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)