类 PasswordExceptionReporter

java.lang.Object
io.github.mangocrisp.spring.taybct.tool.core.exception.handler.DefaultExceptionReporter
io.github.mangocrisp.spring.taybct.auth.security.handle.PasswordExceptionReporter
所有已实现的接口:
io.github.mangocrisp.spring.taybct.tool.core.exception.handler.IGlobalExceptionReporter

public class PasswordExceptionReporter extends io.github.mangocrisp.spring.taybct.tool.core.exception.handler.DefaultExceptionReporter
密码验证失败异常记录,这里可以记录密码验证失败次数
  • 字段详细资料

    • redisTemplate

      final org.springframework.data.redis.core.RedisTemplate<String,Integer> redisTemplate
    • verifyGrantType

      private String verifyGrantType
      需要验证的鉴权类型
    • principal

      private String principal
      需要验证的字段
  • 构造器详细资料

    • PasswordExceptionReporter

      public PasswordExceptionReporter()
  • 方法详细资料

    • recording

      public void recording(jakarta.servlet.ServletRequest servletRequest, Throwable e)
      指定者:
      recording 在接口中 io.github.mangocrisp.spring.taybct.tool.core.exception.handler.IGlobalExceptionReporter
      覆盖:
      recording 在类中 io.github.mangocrisp.spring.taybct.tool.core.exception.handler.DefaultExceptionReporter