Class XServiceAuthenticationResponse

java.lang.Object
io.goobi.viewer.model.security.authentication.model.XServiceAuthenticationResponse

public class XServiceAuthenticationResponse extends Object
Authentication response object for X-Service.
  • Constructor Details

    • XServiceAuthenticationResponse

      public XServiceAuthenticationResponse(String xml, String encoding) throws org.jdom2.JDOMException, IOException
      Parses and evaluates the given XML response from X-Service.
      Parameters:
      xml - a String object.
      encoding - a String object.
      Throws:
      org.jdom2.JDOMException - if any.
      IOException - if any.
  • Method Details

    • isValid

      public boolean isValid()

      isValid.

      Returns:
      true if all relevant data indicates the account is valid; false otherwise
    • getErrorMsg

      public String getErrorMsg()

      Getter for the field errorMsg.

      Returns:
      the errorMsg
    • setErrorMsg

      public void setErrorMsg(String errorMsg)

      Setter for the field errorMsg.

      Parameters:
      errorMsg - the errorMsg to set
    • getId

      public String getId()

      Getter for the field id.

      Returns:
      the id
    • isExpired

      public boolean isExpired()

      isExpired.

      Returns:
      the expired
    • getRequest

      public VuAuthenticationResponse.Request getRequest()

      Getter for the field request.

      Returns:
      the request
    • setRequest

      public void setRequest(VuAuthenticationResponse.Request request)

      Setter for the field request.

      Parameters:
      request - the request to set