Class UpdateSessionConfig
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.options.UpdateSessionConfig
- 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
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, 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
execute()
boolean
long
long
boolean
boolean
boolean
boolean
void
setClusterService
(ClusterService clusterService) void
setDisableRememberMe
(boolean disableRememberMe) void
setIncludeIpAddressInValidationFactors
(boolean include) void
setPropertyManager
(PropertyManager propertyManager) void
setRememberMeCookiesCleared
(boolean rememberMeCookiesCleared) void
setRememberMeService
(CrowdRememberMeService rememberMeService) void
setRememberMeTime
(long rememberMeTime) void
setSessionTime
(long sessionTime) void
setStorageType
(String storageType) void
setTokenManager
(SwitchableTokenManager tokenManager) 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, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, 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
-
DATABASE_STORAGE
- See Also:
-
MEMORY_STORAGE
- See Also:
-
-
Constructor Details
-
UpdateSessionConfig
public UpdateSessionConfig()
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseAction
-
update
-
doValidation
protected void doValidation() -
getSessionTime
public long getSessionTime() -
setSessionTime
public void setSessionTime(long sessionTime) -
getIncludeIpAddressInValidationFactors
public boolean getIncludeIpAddressInValidationFactors() -
setIncludeIpAddressInValidationFactors
public void setIncludeIpAddressInValidationFactors(boolean include) -
getTokenStorageOptions
-
setRememberMeCookiesCleared
public void setRememberMeCookiesCleared(boolean rememberMeCookiesCleared) -
setStorageType
-
getStorageType
-
setTokenManager
-
setPropertyManager
- Overrides:
setPropertyManager
in classBaseAction
-
setClusterService
- Overrides:
setClusterService
in classBaseAction
-
isClustered
public boolean isClustered() -
isRememberMeCookiesCleared
public boolean isRememberMeCookiesCleared() -
isUpdateSuccessful
public boolean isUpdateSuccessful() -
getRememberMeTime
public long getRememberMeTime() -
isDisableRememberMe
public boolean isDisableRememberMe() -
setRememberMeTime
public void setRememberMeTime(long rememberMeTime) -
setDisableRememberMe
public void setDisableRememberMe(boolean disableRememberMe) -
setRememberMeService
- Overrides:
setRememberMeService
in classBaseAction
-