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.Self
Nested 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 TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) static MoGlobalConfig
get()
protected XmlFile
void
saveGlobalAdvancedSettingsForm
(net.sf.json.JSONObject formData) void
saveMoGlobalConfigViewForm
(net.sf.json.JSONObject formData) void
setEnableSecurityQuestionsAuthentication
(boolean enableSecurityQuestionsAuthentication) void
setEnableTfa
(boolean unableTfa) Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Methods 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:
configure
in classGlobalConfiguration
- Throws:
Descriptor.FormException
-
getConfigFile
- Overrides:
getConfigFile
in classDescriptor<GlobalConfiguration>
-
get
-