Class KatoConfigWithSecurity


  • @Configuration("me.danwi.kato.ConfigWithSecurity")
    @ConditionalOnClass(name={"org.springframework.security.access.AccessDeniedException","org.springframework.security.core.AuthenticationException"})
    public class KatoConfigWithSecurity
    extends java.lang.Object
    当Security被引入的时候,配置能处理AccessDeniedException等异常的ResponseBodyAdvice
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KatoConfigWithSecurity

        public KatoConfigWithSecurity()