Package jenkins.security.stapler
Class StaplerFilteredActionListener
java.lang.Object
jenkins.security.stapler.StaplerFilteredActionListener
- All Implemented Interfaces:
org.kohsuke.stapler.event.FilteredDispatchTriggerListener
,org.kohsuke.stapler.event.FilteredDoActionTriggerListener
,org.kohsuke.stapler.event.FilteredFieldTriggerListener
,org.kohsuke.stapler.event.FilteredGetterTriggerListener
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class StaplerFilteredActionListener
extends Object
implements org.kohsuke.stapler.event.FilteredDoActionTriggerListener, org.kohsuke.stapler.event.FilteredGetterTriggerListener, org.kohsuke.stapler.event.FilteredFieldTriggerListener, org.kohsuke.stapler.event.FilteredDispatchTriggerListener
Log a warning message when a "getter" or "doAction" function or fragment view that was filtered out by SECURITY-400 new rules
-
Field Summary
Fields inherited from interface org.kohsuke.stapler.event.FilteredDispatchTriggerListener
JUST_WARN
Fields inherited from interface org.kohsuke.stapler.event.FilteredDoActionTriggerListener
JUST_WARN
Fields inherited from interface org.kohsuke.stapler.event.FilteredFieldTriggerListener
JUST_WARN
Fields inherited from interface org.kohsuke.stapler.event.FilteredGetterTriggerListener
JUST_WARN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onDispatchTrigger
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node, String viewName) boolean
onDoActionTrigger
(org.kohsuke.stapler.Function f, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) boolean
onFieldTrigger
(org.kohsuke.stapler.lang.FieldRef f, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 staplerResponse, Object node, String expression) boolean
onGetterTrigger
(org.kohsuke.stapler.Function f, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node, String expression)
-
Constructor Details
-
StaplerFilteredActionListener
public StaplerFilteredActionListener()
-
-
Method Details
-
onDoActionTrigger
public boolean onDoActionTrigger(org.kohsuke.stapler.Function f, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) - Specified by:
onDoActionTrigger
in interfaceorg.kohsuke.stapler.event.FilteredDoActionTriggerListener
-
onGetterTrigger
public boolean onGetterTrigger(org.kohsuke.stapler.Function f, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node, String expression) - Specified by:
onGetterTrigger
in interfaceorg.kohsuke.stapler.event.FilteredGetterTriggerListener
-
onFieldTrigger
public boolean onFieldTrigger(org.kohsuke.stapler.lang.FieldRef f, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 staplerResponse, Object node, String expression) - Specified by:
onFieldTrigger
in interfaceorg.kohsuke.stapler.event.FilteredFieldTriggerListener
-
onDispatchTrigger
public boolean onDispatchTrigger(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node, String viewName) - Specified by:
onDispatchTrigger
in interfaceorg.kohsuke.stapler.event.FilteredDispatchTriggerListener
-