public abstract class AuthenticationEventPublisher extends Object
AuthenticationEvents.
This publisher dispatches events to AuthenticationListener and
AuthenticationErrorListener.
AuthenticationEvent,
AuthenticationErrorEvent,
AuthenticationListener,
AuthenticationErrorListener| Constructor and Description |
|---|
AuthenticationEventPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticationListener(AuthenticationListener listener)
Add a
AuthenticationListener. |
void |
addErrorListener(AuthenticationErrorListener listener)
Add a
AuthenticationErrorListener. |
void |
removeAuthenticationListener(AuthenticationListener listener)
Remove a
AuthenticationListener. |
void |
removeErrorListener(AuthenticationErrorListener listener)
Remove a
AuthenticationErrorListener. |
public void addAuthenticationListener(AuthenticationListener listener)
AuthenticationListener. The listener starts receiving events as soon
as possible.listener - lease listener, must not be null.public void removeAuthenticationListener(AuthenticationListener listener)
AuthenticationListener.listener - must not be null.public void addErrorListener(AuthenticationErrorListener listener)
AuthenticationErrorListener. The listener starts receiving events as
soon as possible.listener - lease listener, must not be null.public void removeErrorListener(AuthenticationErrorListener listener)
AuthenticationErrorListener.listener - must not be null.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.