Package org.dspace.saml2
Class DSpaceSamlAuthenticationFailureHandler
java.lang.Object
org.dspace.saml2.DSpaceSamlAuthenticationFailureHandler
- All Implemented Interfaces:
AuthenticationFailureHandler
public class DSpaceSamlAuthenticationFailureHandler
extends Object
implements AuthenticationFailureHandler
Failure handler for SAML authentication.
When a SAML authentication fails:
- Log the error message and redirect to frontend.
- Author:
- Mark Cooper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationException exception)
-
Constructor Details
-
DSpaceSamlAuthenticationFailureHandler
public DSpaceSamlAuthenticationFailureHandler()
-
-
Method Details
-
onAuthenticationFailure
public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationException exception) throws IOException, jakarta.servlet.ServletException - Specified by:
onAuthenticationFailurein interfaceAuthenticationFailureHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-