Hi there,

Not quite understand your requirement. Why you need seesion id? 
currentUser.logout() will clear session automatically.




------------------ Original ------------------
From:  "nmsysuser [via Shiro User]";<[email protected]>;
Date:  Fri, May 16, 2014 11:18 PM
To:  "王能"<[email protected]>; 

Subject:  Shiro + GWT getting Session ID



        Hello, 

I am using Shiro for authenticating user during login process for Web 
application in GWT. By following tutorials and other helpful information, I am 
able to finish the login process; however, I need some for logging out the 
Subject(user). I am not using native session managed by shiro so the session ID 
created by currentUser.getSession() is different from 
getThreadLocalRequest().getSession();, so I was wondering is there any way I 
could get the Shiro session ID by which I can build the Subject and then logout 
him by currentUser.logout()?  

Thanks for your time.                           
        
        
                        If you reply to this email, your message will be added 
to the discussion below:
                
http://shiro-user.582556.n2.nabble.com/Shiro-GWT-getting-Session-ID-tp7579960.html
      
                        To start a new topic under Shiro User, email 
[email protected] 
                To unsubscribe from Shiro User, click here.
                NAML



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-GWT-getting-Session-ID-tp7579960p7579961.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to