com.atlassian.bamboo.configuration
Class UserManagement

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.configuration.UserManagement
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class UserManagement
extends GlobalAdminAction

See Also:
Serialized Form

Nested Class Summary
static class UserManagement.CrowdProperty
           
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UserManagement()
           
 
Method Summary
 String doSynchronise()
           
 String execute()
           
 boolean getActiveUserManagementIsSynchronisable()
           
 UserManagement.CrowdProperty getApplicationName()
           
 UserManagement.CrowdProperty getApplicationPassword()
           
 UserManagement.CrowdProperty getCacheInterval()
           
 com.atlassian.crowd.service.client.ClientProperties getClientProperties()
           
 Properties getCrowdProperties()
           
 boolean getCustomConfigurationAvailable()
           
 UserManagement.CrowdProperty getServerURL()
           
 CrowdSynchronisationResult getSynchronisationResult()
           
 UserConfigurationService getUserConfigurationService()
           
 String getUserManagementOption()
           
 boolean isApplicationPasswordSet()
           
 boolean isSaved()
           
 boolean isSetApplicationPassword()
           
 boolean isSynchronised()
           
 void setApplicationName(UserManagement.CrowdProperty applicationName)
           
 void setApplicationPassword(UserManagement.CrowdProperty applicationPassword)
           
 void setCacheInterval(UserManagement.CrowdProperty cacheInterval)
           
 void setSaved(boolean saved)
           
 void setServerURL(UserManagement.CrowdProperty serverURL)
           
 void setSetApplicationPassword(boolean setApplicationPassword)
           
 void setSynchronised(boolean synchronised)
           
 void setUserConfigurationService(UserConfigurationService userConfigurationService)
           
 void setUserManagementOption(String userManagementOption)
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 

Constructor Detail

UserManagement

public UserManagement()
Method Detail

doSynchronise

public String doSynchronise()
                     throws com.atlassian.user.configuration.ConfigurationException
Throws:
com.atlassian.user.configuration.ConfigurationException

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class BambooActionSupport

getSynchronisationResult

public CrowdSynchronisationResult getSynchronisationResult()

getCustomConfigurationAvailable

public boolean getCustomConfigurationAvailable()

getUserManagementOption

public String getUserManagementOption()
                               throws com.atlassian.user.configuration.ConfigurationException
Throws:
com.atlassian.user.configuration.ConfigurationException

setUserManagementOption

public void setUserManagementOption(String userManagementOption)

getActiveUserManagementIsSynchronisable

public boolean getActiveUserManagementIsSynchronisable()

getUserConfigurationService

public UserConfigurationService getUserConfigurationService()

setUserConfigurationService

public void setUserConfigurationService(UserConfigurationService userConfigurationService)

getCrowdProperties

public Properties getCrowdProperties()

getClientProperties

public com.atlassian.crowd.service.client.ClientProperties getClientProperties()

getServerURL

public UserManagement.CrowdProperty getServerURL()

setServerURL

public void setServerURL(UserManagement.CrowdProperty serverURL)

getApplicationName

public UserManagement.CrowdProperty getApplicationName()

setApplicationName

public void setApplicationName(UserManagement.CrowdProperty applicationName)

getCacheInterval

public UserManagement.CrowdProperty getCacheInterval()

setCacheInterval

public void setCacheInterval(UserManagement.CrowdProperty cacheInterval)

getApplicationPassword

public UserManagement.CrowdProperty getApplicationPassword()

isApplicationPasswordSet

public boolean isApplicationPasswordSet()

setApplicationPassword

public void setApplicationPassword(UserManagement.CrowdProperty applicationPassword)

isSaved

public boolean isSaved()

setSaved

public void setSaved(boolean saved)

isSynchronised

public boolean isSynchronised()

setSynchronised

public void setSynchronised(boolean synchronised)

isSetApplicationPassword

public boolean isSetApplicationPassword()

setSetApplicationPassword

public void setSetApplicationPassword(boolean setApplicationPassword)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.