I cannot find complete example how to use shiro for session management. Can anyone help? I have to adjust interahction between rest client and Spring application through shiro. REST client send the request including login-password. Shiro gets this request and should to create session for this client. After that shiro has to send back session id to client. Client sends next request including sessionid. Shiro has to find his session by this id. I found this tutor: http://shiro.apache.org/session-management.html I read this: Serializable sessionId = //get from the inbound request or remote method invocation payload Subject requestSubject = new Subject.Builder().sessionId(sessionId).buildSubject();
But what is it - searching the session by given id? So how to create first time session and generate id for it? Is there full example? Thanks. -- View this message in context: http://shiro-user.582556.n2.nabble.com/How-generate-session-id-and-maintain-session-tp7578665.html Sent from the Shiro User mailing list archive at Nabble.com.
