@Extension public static class AdobeIOProjectConfig.DescriptorImpl extends Descriptor<AdobeIOProjectConfig>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckClientId(String clientId)
Client Id (aka API Key) check - it's required.
|
FormValidation |
doCheckClientSecretCredentialsId(String clientSecretCredentialsId)
Client Secret credential id check - it's required.
|
FormValidation |
doCheckImsOrganizationId(String imsOrganizationId)
IMS Org Id check = it's required.
|
FormValidation |
doCheckName(String name)
Name check - it's required
|
FormValidation |
doCheckPrivateKeyCredentialsId(String privateKeyCredentialsId)
Private Key credential id check - it's required.
|
FormValidation |
doCheckTechnicalAccountId(String technicalAccountId)
Technical Account Id check = it's required.
|
ListBoxModel |
doFillClientSecretCredentialsIdItems(String credentialsId)
List all of the possible Credentials that can be used for the Client Secret.
|
ListBoxModel |
doFillPrivateKeyCredentialsIdItems(String credentialsId)
List all of the possible Credentials that can be used for the Private Key.
|
FormValidation |
doVerifyCredentials(String apiUrl,
String imsOrganizationId,
String technicalAccountId,
String clientId,
String clientSecretCredentialsId,
String privateKeyCredentialsId)
Verify that the provided information is able to authenticate to Adobe IO.
|
String |
getDisplayName() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, 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
@Nonnull public String getDisplayName()
getDisplayName
in class Descriptor<AdobeIOProjectConfig>
public FormValidation doCheckName(@QueryParameter String name)
public FormValidation doCheckClientId(@QueryParameter String clientId)
public FormValidation doCheckImsOrganizationId(@QueryParameter String imsOrganizationId)
public FormValidation doCheckTechnicalAccountId(@QueryParameter String technicalAccountId)
public FormValidation doCheckClientSecretCredentialsId(@QueryParameter String clientSecretCredentialsId)
public FormValidation doCheckPrivateKeyCredentialsId(@QueryParameter String privateKeyCredentialsId)
public ListBoxModel doFillClientSecretCredentialsIdItems(@QueryParameter String credentialsId)
Client Secrets must be in a domain restricted by AdobeIOProjectConfig.ADOBE_IO_DOMAIN
.
public ListBoxModel doFillPrivateKeyCredentialsIdItems(@QueryParameter String credentialsId)
Private Keys must be in a domain restricted by AdobeIOProjectConfig.ADOBE_IO_DOMAIN
.
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doVerifyCredentials(@QueryParameter String apiUrl, @QueryParameter String imsOrganizationId, @QueryParameter String technicalAccountId, @QueryParameter String clientId, @QueryParameter String clientSecretCredentialsId, @QueryParameter String privateKeyCredentialsId)
Copyright © 2020–2021 Adobe Inc. All rights reserved.