Package org.jenkinsci.plugins
Class KeycloakSecurityRealm.DescriptorImpl
- Enclosing class:
- KeycloakSecurityRealm
@Extension
public static final class KeycloakSecurityRealm.DescriptorImpl
extends Descriptor<SecurityRealm>
Descriptor definition for Jenkins
- Author:
- dev.lauer@elnarion.de
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckKeycloakJson
(String value) Validate keycloakJsonnewInstance
(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<SecurityRealm>
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<SecurityRealm>
-
doCheckKeycloakJson
public FormValidation doCheckKeycloakJson(@QueryParameter String value) throws javax.servlet.ServletException Validate keycloakJson- Parameters:
value
- String the form field value to validate- Returns:
FormValidation
the validation result- Throws:
javax.servlet.ServletException
-
newInstance
public SecurityRealm newInstance(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classDescriptor<SecurityRealm>
- Throws:
Descriptor.FormException
-