Class AbstractSaml2IdpEventListener
java.lang.Object
se.swedenconnect.spring.saml.idp.events.AbstractSaml2IdpEventListener
- All Implemented Interfaces:
EventListener,ApplicationListener<ApplicationEvent>
- Direct Known Subclasses:
Saml2IdpAuditListener
public abstract class AbstractSaml2IdpEventListener
extends Object
implements ApplicationListener<ApplicationEvent>
Abstract base class for an
ApplicationListener for SAML2 events.- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRoutes the received event to the correct on-method.protected voidHandles aSaml2AuthnRequestReceivedEventevent.protected voidHandles aSaml2ErrorResponseEventevent.protected voidHandles aFailedCredentialReloadEventevent.protected voidHandles aFailedCredentialTestEventevent.protected voidHandles aSaml2PostUserAuthenticationEventevent.protected voidHandles aSaml2PreUserAuthenticationEventevent.protected voidHandles aSuccessfulCredentialReloadEventevent.protected voidHandles aSaml2SuccessResponseEventevent.protected voidHandles aSaml2UnrecoverableErrorEventevent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
AbstractSaml2IdpEventListener
public AbstractSaml2IdpEventListener()
-
-
Method Details
-
onApplicationEvent
Routes the received event to the correct on-method.- Specified by:
onApplicationEventin interfaceApplicationListener<ApplicationEvent>
-
onAuthnRequestReceivedEvent
Handles aSaml2AuthnRequestReceivedEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onSuccessResponseEvent
Handles aSaml2SuccessResponseEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onErrorResponseEvent
Handles aSaml2ErrorResponseEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onPreUserAuthenticationEvent
Handles aSaml2PreUserAuthenticationEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onPostUserAuthenticationEvent
Handles aSaml2PostUserAuthenticationEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onUnrecoverableErrorEvent
Handles aSaml2UnrecoverableErrorEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onFailedCredentialTestEvent
Handles aFailedCredentialTestEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onSuccessfulCredentialReloadEvent
Handles aSuccessfulCredentialReloadEventevent. The default implementation does nothing.- Parameters:
event- the event
-
onFailedCredentialReloadEvent
Handles aFailedCredentialReloadEventevent. The default implementation does nothing.- Parameters:
event- the event
-