Class MoGlobalConfig
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.twofactor.jenkins.MoGlobalConfig
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,OnMaster
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) static MoGlobalConfigget()protected XmlFilevoidsaveGlobalAdvancedSettingsForm(net.sf.json.JSONObject formData) voidsaveMoGlobalConfigViewForm(net.sf.json.JSONObject formData) voidsetEnableSecurityQuestionsAuthentication(boolean enableSecurityQuestionsAuthentication) voidsetEnableTfa(boolean unableTfa) Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
MoGlobalConfig
public MoGlobalConfig()
-
-
Method Details
-
getEnableTfa
-
getAdvancedSettings
-
setEnableTfa
@DataBoundSetter public void setEnableTfa(boolean unableTfa) -
isEnableSecurityQuestionsAuthentication
-
setEnableSecurityQuestionsAuthentication
@DataBoundSetter public void setEnableSecurityQuestionsAuthentication(boolean enableSecurityQuestionsAuthentication) -
isEnableOtpOverEmailAuthentication
-
getSenderEmailAddress
-
getOtpOverEmailDto
-
getAdvancedSettingsDTO
-
saveMoGlobalConfigViewForm
public void saveMoGlobalConfigViewForm(net.sf.json.JSONObject formData) -
saveGlobalAdvancedSettingsForm
public void saveGlobalAdvancedSettingsForm(net.sf.json.JSONObject formData) -
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
getConfigFile
- Overrides:
getConfigFilein classDescriptor<GlobalConfiguration>
-
get
-