Hi all,
 
I use the following code:
var subject = SecurityUtils.getSubject();
subject.login(new SomeToken());
 
As I understand, after `subject.login(new SomeToken())` if subject successfully 
logs in, he
is bound  to the current thread. Could anyone say how I can clear current 
thread, without subject.logout()?
I just want the subject leaves in system until it is necessary again (for 
example until next request).
 
I’ve read this article  https://shiro.apache.org/subject.html   but didn’t find 
answer there. Please, help.
 
--
Best regards, Alex Orlov

Reply via email to