Class AuthenticateAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class AuthenticateAction extends ConfluenceActionSupport
Used to authenticate a web sudo session.
See Also:
  • Field Details

  • Constructor Details

    • AuthenticateAction

      public AuthenticateAction()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • getUser

      public com.atlassian.user.User getUser()
    • getUsername

      public String getUsername()
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getDestination

      public String getDestination()
    • setDestination

      public void setDestination(String destination)
    • setWebSudoManager

      public void setWebSudoManager(WebSudoManager webSudoManager)
    • setWebSudoIpAllowListManager

      public void setWebSudoIpAllowListManager(WebSudoIPAllowListManager webSudoIPAllowListManager)
    • isValidScheme

      public static boolean isValidScheme(String scheme)