You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method readSessionof the SessionDAOhas one paramter named sessionId,when use Shiro in web environment ,then instance of WebSubject init in AbstractShiroFilter like this : return new WebSubject.Builder(getSecurityManager(), request, response).buildWebSubject();,
but i can't find Shiro init sessionIdat anywhere,it's mean your framework no ability to bind the Sessionthat in Redisto current WebSubject. so when you inovke the method getSession() of Subject,Shiro will create new Sessionfor you.
My Email : fanzhengou@aliyun.com
The text was updated successfully, but these errors were encountered:
The method
readSession
of theSessionDAO
has one paramter namedsessionId
,when use Shiro in web environment ,then instance of WebSubject init in AbstractShiroFilter like this :return new WebSubject.Builder(getSecurityManager(), request, response).buildWebSubject();,
but i can't find Shiro init
sessionId
at anywhere,it's mean your framework no ability to bind theSession
that inRedis
to currentWebSubject
. so when you inovke the methodgetSession()
ofSubject
,Shiro will create newSession
for you.My Email : fanzhengou@aliyun.com
The text was updated successfully, but these errors were encountered: