Class CrowdSecurityRealm.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<SecurityRealm>
de.theit.jenkins.crowd.CrowdSecurityRealm.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
CrowdSecurityRealm

@Extension public static final class CrowdSecurityRealm.DescriptorImpl extends Descriptor<SecurityRealm>
Descriptor for CrowdSecurityRealm. Used as a singleton. The class is marked as public so that it can be accessed from views.
Since:
06.09.2011 13:35:41
Version:
$Id$
Author:
Thorsten Heit (theit@gmx.de)
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
      Default constructor.
  • Method Details

    • doCheckUrl

      @POST public FormValidation doCheckUrl(@QueryParameter String url)
      Performs on-the-fly validation of the form field 'url'.
      Parameters:
      url - The URL of the Crowd server.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.
    • doCheckApplicationName

      @POST public FormValidation doCheckApplicationName(@QueryParameter String applicationName)
      Performs on-the-fly validation of the form field 'application name'.
      Parameters:
      applicationName - The application name.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.
    • doCheckPassword

      @POST public FormValidation doCheckPassword(@QueryParameter String password)
      Performs on-the-fly validation of the form field 'password'.
      Parameters:
      password - The application's password.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.
    • doCheckSessionValidationInterval

      @POST public FormValidation doCheckSessionValidationInterval(@QueryParameter String sessionValidationInterval)
      Performs on-the-fly validation of the form field 'session validation interval'.
      Parameters:
      sessionValidationInterval - The session validation interval time in minutes.
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.
    • doTestConnection

      @POST public FormValidation doTestConnection(@QueryParameter String url, @QueryParameter String applicationName, @QueryParameter String password, @QueryParameter String group, @QueryParameter boolean useSSO, @QueryParameter String cookieDomain, @QueryParameter int sessionValidationInterval, @QueryParameter String cookieTokenkey, @QueryParameter Boolean useProxy, @QueryParameter String httpProxyHost, @QueryParameter String httpProxyPort, @QueryParameter String httpProxyUsername, @QueryParameter String httpProxyPassword, @QueryParameter String socketTimeout, @QueryParameter String httpTimeout, @QueryParameter String httpMaxConnections)
      Checks whether the connection to the Crowd server can be established using the given credentials.
      Parameters:
      url - The URL of the Crowd server.
      applicationName - The application name.
      password - The application's password.
      group - The Crowd groups users have to belong to if specified.
      useSSO - Specifies if SSO should be used
      cookieDomain - The cookie domain
      sessionValidationInterval - The session validation interval
      cookieTokenkey - The cookie token key
      useProxy - Specifies if a proxy should be used
      httpProxyHost - The http proxy host
      httpProxyPort - The http proxy port
      httpProxyUsername - The http proxy username
      httpProxyPassword - The http proxy password
      socketTimeout - The socket timeout
      httpTimeout - The http timeout
      httpMaxConnections - The http max connections
      Returns:
      Indicates the outcome of the validation. This is sent to the browser.
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<SecurityRealm>
      See Also: