Package hudson.security.csrf
Class DefaultCrumbIssuer.ExcludeSessionIdAdministrativeMonitor
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
hudson.security.csrf.DefaultCrumbIssuer.ExcludeSessionIdAdministrativeMonitor
- All Implemented Interfaces:
ExtensionPoint,ModelObject,SearchableModelObject,SearchItem,org.kohsuke.stapler.StaplerProxy
- Enclosing class:
DefaultCrumbIssuer
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class DefaultCrumbIssuer.ExcludeSessionIdAdministrativeMonitor
extends AdministrativeMonitor
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.AdministrativeMonitor
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAct(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String learn, String dismiss) booleanReturns true if this monitor is activated and wants to produce a warning message.booleanReturns true if this monitor is security related.Methods inherited from class hudson.model.AdministrativeMonitor
all, checkRequiredPermission, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, hasPermissionToDisplay, hasRequiredPermission, isActivationFake, isEnabledMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Constructor Details
-
ExcludeSessionIdAdministrativeMonitor
public ExcludeSessionIdAdministrativeMonitor()
-
-
Method Details
-
isActivated
public boolean isActivated()Description copied from class:AdministrativeMonitorReturns true if this monitor is activated and wants to produce a warning message.This method is called from the HTML rendering thread, so it should run efficiently.
- Specified by:
isActivatedin classAdministrativeMonitor
-
isSecurity
public boolean isSecurity()Description copied from class:AdministrativeMonitorReturns true if this monitor is security related. This will be used to determine which icon will be used in the navigation bar.- Overrides:
isSecurityin classAdministrativeMonitor
-
getDisplayName
- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classAdministrativeMonitor
-
doAct
@POST public void doAct(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter String learn, @QueryParameter String dismiss) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-