Class HerodotusAccessDeniedHandler

java.lang.Object
cn.herodotus.engine.web.core.servlet.template.AbstractResponseHandler
cn.herodotus.engine.oauth2.authorization.servlet.HerodotusAccessDeniedHandler
All Implemented Interfaces:
org.springframework.security.web.access.AccessDeniedHandler

public class HerodotusAccessDeniedHandler extends cn.herodotus.engine.web.core.servlet.template.AbstractResponseHandler implements org.springframework.security.web.access.AccessDeniedHandler

Description: 访问拒绝处理器

Author:
: gengwei.zheng
Date:
: 2022/3/8 8:52
  • Constructor Summary

    Constructors
    Constructor
    Description
    HerodotusAccessDeniedHandler(cn.herodotus.engine.web.core.servlet.template.ThymeleafTemplateHandler templateHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException exception)
     

    Methods inherited from class cn.herodotus.engine.web.core.servlet.template.AbstractResponseHandler

    process

    Methods inherited from class java.lang.Object

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

    • HerodotusAccessDeniedHandler

      public HerodotusAccessDeniedHandler(cn.herodotus.engine.web.core.servlet.template.ThymeleafTemplateHandler templateHandler)
  • Method Details

    • handle

      public void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException exception) throws IOException, jakarta.servlet.ServletException
      Specified by:
      handle in interface org.springframework.security.web.access.AccessDeniedHandler
      Throws:
      IOException
      jakarta.servlet.ServletException