Class MoGlobalConfigView
java.lang.Object
hudson.model.ManagementLink
io.jenkins.plugins.twofactor.jenkins.MoGlobalConfigView
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<MoGlobalConfigView>
,ModelObject
@Extension
public class MoGlobalConfigView
extends ManagementLink
implements Describable<MoGlobalConfigView>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.Category
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.ManagementLink
LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doSaveGlobalTfaSettings
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) boolean
boolean
boolean
boolean
isAdmin()
Methods inherited from class hudson.model.ManagementLink
all, getCategory, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
MoGlobalConfigView
public MoGlobalConfigView()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDescription
- Overrides:
getDescription
in classManagementLink
-
getEnableTfa
public boolean getEnableTfa() -
getEnableSecurityQuestion
public boolean getEnableSecurityQuestion() -
getEnableOtpOverEmail
public boolean getEnableOtpOverEmail() -
getSenderEmailAddress
-
getAdvancedSettings
-
getUserManagement
-
doSaveGlobalTfaSettings
public void doSaveGlobalTfaSettings(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, Descriptor.FormException - Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
getCategoryName
- Overrides:
getCategoryName
in classManagementLink
-
getBaseUrl
-
isAdmin
public boolean isAdmin() -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<MoGlobalConfigView>
-
getGlobalConfig
-