Interface AuthenticationEventMulticaster
- All Known Implementing Classes:
AuthenticationEventPublisher,LifecycleAwareSessionManager,LifecycleAwareSessionManagerSupport,ReactiveLifecycleAwareSessionManager
public interface AuthenticationEventMulticaster
Interface to be implemented by objects that can manage a number of
AuthenticationEvent and AuthenticationErrorEvent objects and publish
events to them.
An AuthenticationEventPublisher,
typically a lifecycle-aware
SessionManager, can use an
AuthenticationEventMulticaster as a delegate for actually publishing events.
- Since:
- 3.1
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd aAuthenticationListener.voidaddErrorListener(AuthenticationErrorListener listener) Add aAuthenticationErrorListener.voidMulticast the given application event to appropriate listeners.voidMulticast the given application event to appropriate listeners.voidRemove aAuthenticationListener.voidRemove aAuthenticationErrorListener.
-
Method Details
-
addAuthenticationListener
Add aAuthenticationListener.- Parameters:
listener- the listener, must not be null.
-
removeAuthenticationListener
Remove aAuthenticationListener.- Parameters:
listener- the listener, must not be null.
-
addErrorListener
Add aAuthenticationErrorListener.- Parameters:
listener- the listener, must not be null.
-
removeErrorListener
Remove aAuthenticationErrorListener.- Parameters:
listener- the listener, must not be null.
-
multicastEvent
Multicast the given application event to appropriate listeners.- Parameters:
event- the event to multicast.
-
multicastEvent
Multicast the given application event to appropriate listeners.- Parameters:
event- the event to multicast.
-