Class MoSecurityQuestionConfig
java.lang.Object
hudson.model.UserProperty
io.jenkins.plugins.twofactor.jenkins.tfaMethodsConfig.MoSecurityQuestionConfig
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<UserProperty>
,ModelObject
,ReconfigurableDescribable<UserProperty>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsFields inherited from class hudson.model.UserProperty
user
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doReset
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) void
doSaveSecurityQuestion
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) getFirstSecurityQuestion
(User user) boolean
boolean
void
setConfigured
(boolean Configured) void
setCustomSecurityQuestion
(Secret customSecurityQuestion) void
setCustomSecurityQuestionAnswer
(Secret customSecurityQuestionAnswer) void
setFirstSecurityQuestion
(Secret firstSecurityQuestion) void
setFirstSecurityQuestionAnswer
(Secret firstSecurityQuestionAnswer) void
setSecondSecurityQuestion
(Secret secondSecurityQuestion) void
setSecondSecurityQuestionAnswer
(Secret secondSecurityQuestionAnswer) Methods inherited from class hudson.model.UserProperty
all, reconfigure, setUser
-
Field Details
-
DESCRIPTOR
-
-
Constructor Details
-
MoSecurityQuestionConfig
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
isUserAuthenticatedFromTfa
public boolean isUserAuthenticatedFromTfa() -
getBaseUrl
-
doSaveSecurityQuestion
public void doSaveSecurityQuestion(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws Exception - Throws:
Exception
-
doReset
public void doReset(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
getFirstSecurityQuestion
-
getSecondSecurityQuestion
-
getCustomSecurityQuestion
-
getFirstSecurityQuestionAnswer
-
getSecondSecurityQuestionAnswer
-
getCustomSecurityQuestionAnswer
-
setFirstSecurityQuestion
-
setSecondSecurityQuestion
-
setCustomSecurityQuestion
-
setFirstSecurityQuestionAnswer
-
setSecondSecurityQuestionAnswer
-
setCustomSecurityQuestionAnswer
-
isConfigured
public boolean isConfigured() -
setConfigured
public void setConfigured(boolean Configured) -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<UserProperty>
- Overrides:
getDescriptor
in classUserProperty
-