Shiro cannot clear authentication information using clearCachedAuthenticationInfo

use this.clearCachedAuthenticationInfo () to pass in tokens, and also execute this.clearCachedAuthorizationInfo () operation to empty the authorization information. The above two operations are the same principals . In Debug, it is found that the return value of this.getAvailableAuthenticationCache () in clearCachedAuthenticationInfo is NULL:

.

also ask the god to answer.


current alternative:

   

Menu