Uses of Interface
se.swedenconnect.security.credential.ReloadablePkiCredential
Package
Description
Generic support for X.509 credentials.
Some types of credentials may need to be monitored to ensure that they are still in function.
-
Uses of ReloadablePkiCredential in se.swedenconnect.security.credential
Modifier and TypeClassDescriptionclass
Abstract base class for reloadable credentials.class
class
A PKCS#11 credential implementation of thePkiCredential
andReloadablePkiCredential
interfaces.Modifier and TypeMethodDescriptionvoid
AbstractReloadablePkiCredential.setTestFunction
(Function<ReloadablePkiCredential, Exception> testFunction) Assigns a test function for this credential. -
Uses of ReloadablePkiCredential in se.swedenconnect.security.credential.monitoring
Modifier and TypeMethodDescriptionDefaultCredentialTestFunction.apply
(ReloadablePkiCredential credential) protected void
DefaultCredentialMonitorBean.reload
(ReloadablePkiCredential credential) Performs reloading of the supplied credential.void
DefaultCredentialMonitorBean.setCredential
(ReloadablePkiCredential credential) Assigns the credential that should be monitored.Modifier and TypeMethodDescriptionvoid
DefaultCredentialMonitorBean.setAdditionalForReload
(List<ReloadablePkiCredential> additionalForReload) Assigns the a list of additional credentials that should be reloaded if a test fails.void
DefaultCredentialMonitorBean.setCredentials
(List<ReloadablePkiCredential> credentials) Assigns the credentials that should be monitored.void
DefaultCredentialMonitorBean.setFailureCallback
(BiFunction<ReloadablePkiCredential, Exception, Boolean> failureCallback) Assigns callback function that is invoked if the test of a credential fails.void
DefaultCredentialMonitorBean.setReloadFailureCallback
(BiConsumer<ReloadablePkiCredential, Exception> reloadFailureCallback) Assigns a callback function that is invoked if the reloading of a failed credential fails.void
DefaultCredentialMonitorBean.setReloadSuccessCallback
(Consumer<ReloadablePkiCredential> reloadSuccessCallback) Assigns a callback function that is invoked if the reloading of a failed credential was successful.ModifierConstructorDescriptionDefaultCredentialMonitorBean
(ReloadablePkiCredential credential) Constructor setting up monitoring of a single credential.DefaultCredentialMonitorBean
(ReloadablePkiCredential credential, List<ReloadablePkiCredential> additionalForReload) Constructor setting up monitoring of a single credential.ModifierConstructorDescriptionDefaultCredentialMonitorBean
(List<ReloadablePkiCredential> credentials) Constructor setting up monitoring of the supplied credentials.DefaultCredentialMonitorBean
(ReloadablePkiCredential credential, List<ReloadablePkiCredential> additionalForReload) Constructor setting up monitoring of a single credential.