Package io.jenkins.plugins.chatbot
Class ChatbotRootAction.ChatbotCrumbExclusion
java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.chatbot.ChatbotRootAction.ChatbotCrumbExclusion
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
ChatbotRootAction
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) Methods inherited from class hudson.security.csrf.CrumbExclusion
all, process
-
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:
processin classCrumbExclusion- Throws:
IOExceptionjavax.servlet.ServletException
-