public class License extends BaseAction
Modifier and Type | Field and Description |
---|---|
protected long |
currentResources |
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
License(UserService userService,
UserPermissionService userPermissionService,
com.atlassian.license.SIDManager sidManager,
SystemInfoHelper systemInfoHelper) |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getCrowdSid() |
long |
getCurrentResources() |
String |
getKey() |
String |
getPassword() |
com.atlassian.license.SIDManager |
getSidManager() |
SystemInfoHelper |
getSystemInfoHelper() |
String |
getUsername() |
boolean |
isAtResourceLimit() |
Boolean |
isAuthenticationRequired()
Returns true if the user needs to be authenticated before updating the license.
|
protected void |
processLicenseDetails() |
void |
setKey(String key) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
update() |
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, 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, isAuthenticated, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
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
@Autowired public License(UserService userService, UserPermissionService userPermissionService, com.atlassian.license.SIDManager sidManager, SystemInfoHelper systemInfoHelper)
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
protected void processLicenseDetails()
public boolean isAtResourceLimit()
isAtResourceLimit
in class BaseAction
public Boolean isAuthenticationRequired()
Unauthenticated updating is allowed when Crowd is locked up because of invalid license or too new Crowd version.
public String getKey()
public void setKey(String key)
public String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
public com.atlassian.license.SIDManager getSidManager()
public SystemInfoHelper getSystemInfoHelper()
public String getCrowdSid()
public long getCurrentResources()
Copyright © 2020 Atlassian. All rights reserved.