📜  apache shiro remember me 是如何工作的 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:07.600000             🧑  作者: Mango

代码示例2
try {
    currentUser.login(token);
} catch  ( UnknownAccountException uae ) { ...
} catch  ( IncorrectCredentialsException ice ) { ...
} catch  ( LockedAccountException lae ) { ...
} catch  ( ExcessiveAttemptsException eae ) { ...
} ...  your own ...
} catch ( AuthenticationException ae ) {
    //unexpected error?
}
//No problems, show authenticated view…