public interface LoginIdentityProvider
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResponse |
authenticate(LoginCredentials credentials)
Authenticates the specified login credentials.
|
void |
initialize(LoginIdentityProviderInitializationContext initializationContext)
Called immediately after instance creation for implementers to perform additional setup
|
void |
onConfigured(LoginIdentityProviderConfigurationContext configurationContext)
Called to configure the AuthorityProvider.
|
void |
preDestruction()
Called immediately before instance destruction for implementers to release resources.
|
AuthenticationResponse authenticate(LoginCredentials credentials) throws InvalidLoginCredentialsException, IdentityAccessException
credentials - the credentialsInvalidLoginCredentialsException - The login credentials were invalidIdentityAccessException - Unable to register the user due to an issue accessing the underlying storagevoid initialize(LoginIdentityProviderInitializationContext initializationContext) throws ProviderCreationException
initializationContext - in which to initializeProviderCreationException - Unable to initializevoid onConfigured(LoginIdentityProviderConfigurationContext configurationContext) throws ProviderCreationException
configurationContext - at the time of configurationProviderCreationException - for any issues configuring the providervoid preDestruction()
throws ProviderDestructionException
ProviderDestructionException - If pre-destruction fails.Copyright © 2023 Apache NiFi Project. All rights reserved.