Class LitteraAuthenticationResponse
java.lang.Object
io.goobi.viewer.model.security.authentication.model.LitteraAuthenticationResponse
Representation of the Littera authentication response which is delivered as xml. It only contains the single information if a login attempt
succeeded or not
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionConstructor for LitteraAuthenticationResponse.LitteraAuthenticationResponse
(boolean success) Constructor for LitteraAuthenticationResponse. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAuthenticationSuccessful.void
setAuthenticationSuccessful
(boolean authenticationSuccessful) Setter for the fieldauthenticationSuccessful
.
-
Constructor Details
-
LitteraAuthenticationResponse
public LitteraAuthenticationResponse()Constructor for LitteraAuthenticationResponse.
-
LitteraAuthenticationResponse
public LitteraAuthenticationResponse(boolean success) Constructor for LitteraAuthenticationResponse.
- Parameters:
success
- a boolean.
-
-
Method Details
-
isAuthenticationSuccessful
public boolean isAuthenticationSuccessful()isAuthenticationSuccessful.
- Returns:
- the authenticationSuccessful
-
setAuthenticationSuccessful
public void setAuthenticationSuccessful(boolean authenticationSuccessful) Setter for the field
authenticationSuccessful
.- Parameters:
authenticationSuccessful
- the authenticationSuccessful to set
-