Class AuthenticateAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.security.websudo.AuthenticateAction
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

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 com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.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)
    • setEventPublisher

      public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
    • isValidScheme

      public static boolean isValidScheme(String scheme)