Class ChatbotRootAction.ChatbotCrumbExclusion

java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.chatbot.ChatbotRootAction.ChatbotCrumbExclusion
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
ChatbotRootAction

@Extension public static class ChatbotRootAction.ChatbotCrumbExclusion extends CrumbExclusion
CSRF Crumb Exclusion for the chatbot API. This allows the Python backend to be called through this proxy without requiring CSRF tokens on every request. The proxy itself enforces authentication.
  • Constructor Details

    • ChatbotCrumbExclusion

      public ChatbotCrumbExclusion()
  • Method Details

    • process

      public boolean process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Overrides:
      process in class CrumbExclusion
      Throws:
      IOException
      javax.servlet.ServletException