@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension @Symbol(value="extendedSecuritySettings") public class ExtendedSecuritySettings extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
ExtendedSecuritySettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static ExtendedSecuritySettings |
get() |
GlobalConfigurationCategory |
getCategory() |
Set<HttpHeaderName> |
getHttpHeaderNames() |
boolean |
isDisableLoginAutocomplete() |
boolean |
isEnableXssProtectionHeader() |
void |
setDisableLoginAutocomplete(boolean disableLoginAutocomplete) |
void |
setEnableXssProtectionHeader(boolean enableXssProtectionHeader) |
void |
setHttpHeaderNames(Set<HttpHeaderName> httpHeaderNames) |
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@Nonnull public static ExtendedSecuritySettings get()
public boolean isDisableLoginAutocomplete()
@DataBoundSetter public void setDisableLoginAutocomplete(boolean disableLoginAutocomplete)
public boolean isEnableXssProtectionHeader()
@DataBoundSetter public void setEnableXssProtectionHeader(boolean enableXssProtectionHeader)
@CheckForNull public Set<HttpHeaderName> getHttpHeaderNames()
@DataBoundSetter public void setHttpHeaderNames(@CheckForNull Set<HttpHeaderName> httpHeaderNames)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
configure in class GlobalConfigurationDescriptor.FormException@Nonnull public GlobalConfigurationCategory getCategory()
getCategory in class Descriptor<GlobalConfiguration>Copyright © 2016–2020. All rights reserved.