Class UpdateSpringLdapPoolConfiguration
java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.directory.UpdateSpringLdapPoolConfiguration
- All Implemented Interfaces:
Serializable,org.apache.struts2.action.Action,org.apache.struts2.interceptor.ValidationAware,org.apache.struts2.locale.LocaleProvider,org.apache.struts2.text.TextProvider,org.apache.struts2.Validateable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected longprotected LdapPoolTypeprotected intprotected intprotected intprotected longprotected longprotected intprotected booleanprotected booleanprotected booleanprotected booleanFields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, BASIC_AUTH_PLUGIN_KEY, BASIC_AUTH_SYS_PROP_DISABLED, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, logger, pluginPropertyManager, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManagerFields inherited from class org.apache.struts2.ActionSupport
containerFields inherited from interface org.apache.struts2.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()longlonggetID()intintintlonglongintbooleanbooleanbooleanbooleanbooleanbooleanvoidsetBlockWhenExhausted(boolean blockWhenExhausted) voidsetDirectoryValidationHelper(DirectoryValidationHelper directoryValidationHelper) voidsetEvictionRunIntervalSeconds(long evictionRunIntervalSeconds) voidsetHelpPathResolver(CrowdHelpPathResolver crowdHelpPathResolver) voidsetID(long ID) voidsetLdapPoolType(String ldapPoolType) voidsetMaxIdlePerKey(int maxIdlePerKey) voidsetMaxTotal(int maxTotal) voidsetMaxTotalPerKey(int maxTotalPerKey) voidsetMaxWait(long maxWait) voidsetMinEvictableTimeSeconds(long minEvictableTimeSeconds) voidsetMinIdlePerKey(int minIdlePerKey) voidsetSpringLdapPoolConfigService(SpringLdapPoolConfigService springLdapPoolConfigService) voidsetTestOnBorrow(boolean testOnBorrow) voidsetTestOnCreate(boolean testOnCreate) voidsetTestOnReturn(boolean testOnReturn) voidsetTestWhileIdle(boolean testWhileIdle) update()Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isBasicAuthEnabled, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPluginPropertyManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGeneratorMethods inherited from class org.apache.struts2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validate
-
Field Details
-
ldapPoolType
-
maxTotal
protected int maxTotal -
maxTotalPerKey
protected int maxTotalPerKey -
maxIdlePerKey
protected int maxIdlePerKey -
minIdlePerKey
protected int minIdlePerKey -
blockWhenExhausted
protected boolean blockWhenExhausted -
maxWait
protected long maxWait -
testOnCreate
protected boolean testOnCreate -
testOnBorrow
protected boolean testOnBorrow -
testOnReturn
protected boolean testOnReturn -
testWhileIdle
protected boolean testWhileIdle -
evictionRunIntervalSeconds
protected long evictionRunIntervalSeconds -
minEvictableTimeSeconds
protected long minEvictableTimeSeconds
-
-
Constructor Details
-
UpdateSpringLdapPoolConfiguration
public UpdateSpringLdapPoolConfiguration()
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.apache.struts2.action.Action- Overrides:
executein classBaseAction- Throws:
Exception
-
update
-
getDirectory
-
getID
public long getID() -
setID
public void setID(long ID) -
setSpringLdapPoolConfigService
-
getLdapPoolType
-
setLdapPoolType
-
getMaxTotal
public int getMaxTotal() -
setMaxTotal
public void setMaxTotal(int maxTotal) -
getMaxTotalPerKey
public int getMaxTotalPerKey() -
setMaxTotalPerKey
public void setMaxTotalPerKey(int maxTotalPerKey) -
getMaxIdlePerKey
public int getMaxIdlePerKey() -
setMaxIdlePerKey
public void setMaxIdlePerKey(int maxIdlePerKey) -
getMinIdlePerKey
public int getMinIdlePerKey() -
setMinIdlePerKey
public void setMinIdlePerKey(int minIdlePerKey) -
isBlockWhenExhausted
public boolean isBlockWhenExhausted() -
setBlockWhenExhausted
public void setBlockWhenExhausted(boolean blockWhenExhausted) -
getMaxWait
public long getMaxWait() -
setMaxWait
public void setMaxWait(long maxWait) -
isTestOnCreate
public boolean isTestOnCreate() -
setTestOnCreate
public void setTestOnCreate(boolean testOnCreate) -
isTestOnBorrow
public boolean isTestOnBorrow() -
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow) -
isTestOnReturn
public boolean isTestOnReturn() -
setTestOnReturn
public void setTestOnReturn(boolean testOnReturn) -
isTestWhileIdle
public boolean isTestWhileIdle() -
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle) -
getEvictionRunIntervalSeconds
public long getEvictionRunIntervalSeconds() -
setEvictionRunIntervalSeconds
public void setEvictionRunIntervalSeconds(long evictionRunIntervalSeconds) -
getMinEvictableTimeSeconds
public long getMinEvictableTimeSeconds() -
setMinEvictableTimeSeconds
public void setMinEvictableTimeSeconds(long minEvictableTimeSeconds) -
getPoolTypeOptions
-
setHelpPathResolver
-
setDirectoryValidationHelper
-
isUpdateFailedDueToDirectorySynchronizing
public boolean isUpdateFailedDueToDirectorySynchronizing()
-