|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.AbstractUpdateLicenseAction
com.atlassian.confluence.fixonly.actions.AuthenticateAndUpdateLicenseAction
public class AuthenticateAndUpdateLicenseAction
An action providing functionality to authenticate and update a license in the same step. See CONF-9959.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, webInterfaceManager |
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
AuthenticateAndUpdateLicenseAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doUpdate()
Extend the license update operation to authenticate first. |
java.lang.String |
getPassword()
|
UserAccessor |
getUserAccessor()
|
java.lang.String |
getUsername()
|
boolean |
isPermitted()
|
void |
setPassword(java.lang.String password)
|
void |
setUserAccessor(UserAccessor userAccessor)
|
void |
setUsername(java.lang.String username)
|
void |
validate()
Ensure that non blank username and password have been supplied. |
| Methods inherited from class com.atlassian.confluence.admin.actions.AbstractUpdateLicenseAction |
|---|
getClusterManager, getLicense, getLicenseString, getSupportPeriodEnd, getUserChecker, isHasSupportPeriodExpired, isLicenseSubmitted, setApplicationConfig, setClusterManager, setLicenseString, setLicenseSubmitted, setUserChecker |
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticateAndUpdateLicenseAction()
| Method Detail |
|---|
public void validate()
validate in interface com.opensymphony.xwork.Validateablevalidate in class AbstractUpdateLicenseAction
public java.lang.String doUpdate()
throws java.lang.Exception
doUpdate in class AbstractUpdateLicenseActionjava.lang.Exceptionpublic boolean isPermitted()
isPermitted in class ConfluenceActionSupportpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public UserAccessor getUserAccessor()
getUserAccessor in class ConfluenceActionSupportpublic void setUserAccessor(UserAccessor userAccessor)
setUserAccessor in class ConfluenceActionSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||