Package net.shibboleth.idp.authn
Interface CredentialValidator.ErrorHandler
-
- All Known Implementing Classes:
ValidateCredentials
- Enclosing interface:
- CredentialValidator
@ThreadSafe public static interface CredentialValidator.ErrorHandlerInterface to use to report errors to the caller.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleError(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, Exception e, String eventId)Reports an error state to the caller.voidhandleError(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, String message, String eventId)Reports an error state to the caller.
-
-
-
Method Detail
-
handleError
void handleError(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull AuthenticationContext authenticationContext, @Nonnull Exception e, @Nonnull @NotEmpty String eventId)Reports an error state to the caller.Errors should never be reported as part of a successful login.
- Parameters:
profileRequestContext- the current profile request contextauthenticationContext- the current authentication contexte- exception to reporteventId- a default webflow event to report as the result of the calling action
-
handleError
void handleError(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull AuthenticationContext authenticationContext, @Nullable String message, @Nonnull @NotEmpty String eventId)Reports an error state to the caller.Errors should never be reported as part of a successful login.
- Parameters:
profileRequestContext- the current profile request contextauthenticationContext- the current authentication contextmessage- to reporteventId- a default webflow event to report as the result of the calling action
-
-