@Extension public class SecurityIsOffMonitor extends AdministrativeMonitor
Call attention to the fact that Jenkins is not secured, and encourage the administrator to take an action.
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
Constructor and Description |
---|
SecurityIsOffMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
doAct(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Depending on whether the user said "yes" or "no", send him to the right place.
|
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
all, disable, doDisable, getDisplayName, getSearchUrl, getUrl, isEnabled
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
public void doAct(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
IOException
Copyright © 2015. All rights reserved.