Class DirectoryInternal
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.setup.BaseSetupAction
com.atlassian.crowd.console.action.setup.DirectoryInternal
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
Create a default internal directory during setup.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected String
static final String
protected long
protected String
Fields inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
SELECT_SETUP_STEP
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doValidation
(Directory directory) execute()
long
getID()
getName()
long
long
long
boolean
isActive()
void
setActive
(boolean active) void
setCrowdDirectoryService
(CrowdDirectoryService crowdDirectoryService) void
setDescription
(String description) void
void
setPasswordComplexityMessage
(String passwordComplexityMessage) void
setPasswordEncoderFactory
(PasswordEncoderFactory passwordEncoderFactory) void
setPasswordHistoryCount
(long passwordHistoryCount) void
setPasswordMaxAttempts
(long passwordMaxAttempts) void
setPasswordMaxChangeTime
(long passwordMaxChangeTime) void
setPasswordRegex
(String passwordRegex) void
setPropertyManager
(PropertyManager propertyManager) void
setUserEncryptionMethod
(String userEncryptionMethod) update()
Methods inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
getCrowdLicenseStore, getSetupPersister, isApplicationHomeOk, isAtCorrectStep, isEverythingOk, isServlet24, setSetupPersister
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, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.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, validate
-
Field Details
-
DIRECTORY_INTERNAL_STEP
- See Also:
-
ID
protected long ID -
active
protected boolean active -
name
-
description
-
-
Constructor Details
-
DirectoryInternal
public DirectoryInternal()
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseSetupAction
-
getStepName
- Specified by:
getStepName
in classBaseSetupAction
-
update
- Overrides:
update
in classBaseSetupAction
-
doValidation
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getName
-
setName
-
getDescription
-
setDescription
-
getPasswordRegex
-
setPasswordRegex
-
getPasswordMaxAttempts
public long getPasswordMaxAttempts() -
setPasswordMaxAttempts
public void setPasswordMaxAttempts(long passwordMaxAttempts) -
getPasswordMaxChangeTime
public long getPasswordMaxChangeTime() -
setPasswordMaxChangeTime
public void setPasswordMaxChangeTime(long passwordMaxChangeTime) -
getPasswordHistoryCount
public long getPasswordHistoryCount() -
setPasswordHistoryCount
public void setPasswordHistoryCount(long passwordHistoryCount) -
getUserEncryptionMethod
-
setUserEncryptionMethod
-
getPasswordEncoderFactory
-
setPasswordEncoderFactory
-
getPasswordComplexityMessage
-
setPasswordComplexityMessage
-
getUserEncryptionMethods
-
getID
public long getID() -
setPropertyManager
- Overrides:
setPropertyManager
in classBaseAction
-
setCrowdDirectoryService
-