Class FodGlobalDescriptor

    • Constructor Detail

      • FodGlobalDescriptor

        @DataBoundConstructor
        public FodGlobalDescriptor()
    • Method Detail

      • setBaseUrl

        @DataBoundSetter
        public void setBaseUrl​(String baseUrl)
        Maura E. Ardden: 09/15/2022 To enable configuration-as-code a new group of setters has been provided NOTE: Following setters persist data to the global configuration json Object and jelly files. All setters use the naming convention: set JellyField. All getters use the naming convention: get JellyField.
      • setApiUrl

        @DataBoundSetter
        public void setApiUrl​(String apiUrl)
      • setGlobalAuthType

        @DataBoundSetter
        public void setGlobalAuthType​(String globalAuthType)
      • setClientId

        @DataBoundSetter
        public void setClientId​(String clientId)
      • setClientSecret

        @DataBoundSetter
        public void setClientSecret​(String clientSecret)
      • setUsername

        @DataBoundSetter
        public void setUsername​(String username)
      • setPersonalAccessToken

        @DataBoundSetter
        public void setPersonalAccessToken​(String personalAccessToken)
      • setTenantId

        @DataBoundSetter
        public void setTenantId​(String tenantId)
      • setScanCentralPath

        @DataBoundSetter
        public void setScanCentralPath​(String scanCentralPath)
      • getAuthTypeIsApiKey

        public boolean getAuthTypeIsApiKey()
      • getAuthTypeIsPersonalToken

        public boolean getAuthTypeIsPersonalToken()
      • getGlobalAuthType

        public String getGlobalAuthType()
      • getBaseUrl

        public String getBaseUrl()
      • getApiUrl

        public String getApiUrl()
      • getClientId

        public String getClientId()
      • getClientSecret

        public String getClientSecret()
      • getUsername

        public String getUsername()
      • getPersonalAccessToken

        public String getPersonalAccessToken()
      • getTenantId

        public String getTenantId()
      • getScanCentralPath

        public String getScanCentralPath()
      • getOriginalClientId

        public String getOriginalClientId()
      • getOriginalClientSecret

        public String getOriginalClientSecret()
      • getOriginalUsername

        public String getOriginalUsername()
      • getOriginalPersonalAccessToken

        public String getOriginalPersonalAccessToken()
      • getOriginalTenantId

        public String getOriginalTenantId()
      • doTestApiKeyConnection

        @POST
        public FormValidation doTestApiKeyConnection​(@QueryParameter("clientId")
                                                     String clientId,
                                                     @QueryParameter("clientSecret")
                                                     String clientSecret,
                                                     @QueryParameter("baseUrl")
                                                     String baseUrl,
                                                     @QueryParameter("apiUrl")
                                                     String apiUrl)
      • doTestPersonalAccessTokenConnection

        @POST
        public FormValidation doTestPersonalAccessTokenConnection​(@QueryParameter("username")
                                                                  String username,
                                                                  @QueryParameter("personalAccessToken")
                                                                  String personalAccessToken,
                                                                  @QueryParameter("tenantId")
                                                                  String tenantId,
                                                                  @QueryParameter("baseUrl")
                                                                  String baseUrl,
                                                                  @QueryParameter("apiUrl")
                                                                  String apiUrl)
      • doFillClientIdItems

        public ListBoxModel doFillClientIdItems()
      • doFillClientSecretItems

        public ListBoxModel doFillClientSecretItems()
      • doFillUsernameItems

        public ListBoxModel doFillUsernameItems()
      • doFillPersonalAccessTokenItems

        public ListBoxModel doFillPersonalAccessTokenItems()
      • doFillTenantIdItems

        public ListBoxModel doFillTenantIdItems()