shiro异常简述

 

 

 

AuthenticationException 异常是Shiro在登录认证过程中,认证失败需要抛出的异常。

AuthenticationException包含以下子类:

  CredentitalsException 凭证异常

    IncorrentCredentialsException 不正确的凭证

    ExpiredCredentialsException 凭证过期 

  AccountException 账号异常

    ConcurrentAccessException 并发访问异常(多个用户同时登录时抛出)

    UnknownAccountException 未知的账号

    ExcessiveAttemptsException 认证次数超过限制

    DisabledAccountException 禁用的账号

    LockedAccountException 账号被锁定

  UnsupportedTokenException 使用了不支持的Token

相关文章:

  • 2022-12-23
  • 2021-09-06
  • 2021-11-26
  • 2022-03-07
  • 2021-06-09
  • 2021-10-04
  • 2021-07-27
  • 2021-06-17
猜你喜欢
  • 2021-08-13
  • 2022-12-23
  • 2021-06-02
  • 2022-03-10
  • 2022-12-23
  • 2021-11-10
  • 2021-05-31
相关资源
相似解决方案