Class BibliothecaAuthenticationResponse

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

public class BibliothecaAuthenticationResponse extends Object
Authentication response object for Bibliotheca.
  • Constructor Details

    • BibliothecaAuthenticationResponse

      public BibliothecaAuthenticationResponse(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
    • getUserid

      public String getUserid()
      Returns:
      the userid
    • setUserid

      public void setUserid(String userid)
      Parameters:
      userid - the userid to set
    • getFsk

      public String getFsk()
      Returns:
      the fsk
    • setFsk

      public void setFsk(String fsk)
      Parameters:
      fsk - the fsk to set
    • isExpired

      public boolean isExpired()

      isExpired.

      Returns:
      the expired