@Extension
public static final class CrowdSecurityRealm.DescriptorImpl
extends hudson.model.Descriptor<hudson.security.SecurityRealm>
CrowdSecurityRealm. Used as a singleton. The class
is marked as public so that it can be accessed from views.| Constructor and Description |
|---|
DescriptorImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheckApplicationName(String applicationName)
Performs on-the-fly validation of the form field 'application name'.
|
hudson.util.FormValidation |
doCheckPassword(String password)
Performs on-the-fly validation of the form field 'password'.
|
hudson.util.FormValidation |
doCheckSessionValidationInterval(String sessionValidationInterval)
Performs on-the-fly validation of the form field 'session validation
interval'.
|
hudson.util.FormValidation |
doCheckUrl(String url)
Performs on-the-fly validation of the form field 'url'.
|
hudson.util.FormValidation |
doTestConnection(String url,
String applicationName,
String password,
String group,
boolean useSSO,
String cookieDomain,
int sessionValidationInterval,
String cookieTokenkey,
Boolean useProxy,
String httpProxyHost,
String httpProxyPort,
String httpProxyUsername,
String httpProxyPassword,
String socketTimeout,
String httpTimeout,
String httpMaxConnections)
Checks whether the connection to the Crowd server can be established
using the given credentials.
|
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic hudson.util.FormValidation doCheckUrl(@QueryParameter
String url)
url - The URL of the Crowd server.public hudson.util.FormValidation doCheckApplicationName(@QueryParameter
String applicationName)
applicationName - The application name.public hudson.util.FormValidation doCheckPassword(@QueryParameter
String password)
password - The application's password.public hudson.util.FormValidation doCheckSessionValidationInterval(@QueryParameter
String sessionValidationInterval)
sessionValidationInterval - The session validation interval time in minutes.public hudson.util.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)
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 - Spcifies if SSO should be usedcookieDomain - The cookie domainsessionValidationInterval - The session validation intervalcookieTokenkey - The cookie token keyuseProxy - Specifies if a proxy should be usedhttpProxyHost - The http proxy hosthttpProxyPort - The http proxy porthttpProxyUsername - The http proxy usernamehttpProxyPassword - The http proxy passwordsocketTimeout - The socket timeouthttpTimeout - The http timeouthttpMaxConnections - The http max connectionspublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.security.SecurityRealm>Descriptor.getDisplayName()Copyright © 2016–2018. All rights reserved.