Multiple realm logins can be implemented through custom token in shiro, so what if I want to implement differentiated realm exits?

previously, custom token was used to distinguish realm login operations, but now there is a need that the exits of the two realm do not affect each other. However, when both realm login operations are performed, no matter which realm performs the exit operation, all realm authorizations will be cleared at the same time. How should it be implemented separately?

Jul.06,2021
Menu