Class BibliothecaAuthenticationResponse
java.lang.Object
io.goobi.viewer.model.security.authentication.model.BibliothecaAuthenticationResponse
Authentication response object for Bibliotheca.
-
Constructor Summary
ConstructorDescriptionBibliothecaAuthenticationResponse
(String xml, String encoding) Parses and evaluates the given XML response from X-Service. -
Method Summary
-
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
- aString
object.encoding
- aString
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
- Returns:
- the userid
-
setUserid
- Parameters:
userid
- the userid to set
-
getFsk
- Returns:
- the fsk
-
setFsk
- Parameters:
fsk
- the fsk to set
-
isExpired
public boolean isExpired()isExpired.
- Returns:
- the expired
-