Class License

java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.License
All Implemented Interfaces:
Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class License extends BaseAction
See Also:
  • Field Details

    • currentResources

      protected long currentResources
  • Constructor Details

  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class BaseAction
    • update

      public String update() throws Exception
      Throws:
      Exception
    • processLicenseDetails

      protected void processLicenseDetails()
    • isAtResourceLimit

      public boolean isAtResourceLimit()
      Overrides:
      isAtResourceLimit in class BaseAction
    • isAuthenticationRequired

      public Boolean isAuthenticationRequired()
      Returns true if the user needs to be authenticated before updating the license.

      Unauthenticated updating is allowed when Crowd is locked up because of invalid license or too new Crowd version.

      Returns:
      true if the user needs to be authenticated before updating the license
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getSidManager

      public com.atlassian.license.SIDManager getSidManager()
    • getSystemInfoHelper

      public SystemInfoHelper getSystemInfoHelper()
    • getCrowdSid

      public String getCrowdSid()
    • getCurrentResources

      public long getCurrentResources()