Interface AuthenticatorInstance


  • public interface AuthenticatorInstance
    Representation of an authenticator instance, which is a composition of CredentialRetrieval and CredentialVerificator, configured. It is based on authenticator definition which is created by user, but is a blueprint for instances with potentially different retrievals and thus different supported bindings.

    Authenticator instance can be local or remote, depending on the associated verificator type (local or remote).

    Local authenticator is special as it has an associated local credential. Its verificator uses the associated credential's configuration internally, but it is not advertised to the outside world, via the AuthenticatorInstanceMetadata interface.

    Author:
    K. Benedyczak
    • Method Detail

      • updateConfiguration

        void updateConfiguration​(String vConfiguration,
                                 String retrievalConfiguration,
                                 String localCredential)
        Updates the current configuration of the authenticator. For local verificators the verificator configuration is only set for the underlying verificator, it is not exposed in the instanceDescription.
      • setRevision

        void setRevision​(long revision)
        Set authenticator revision
        Parameters:
        revision - to set
      • getRevision

        long getRevision()
        Get authenticator revision
        Returns:
        authenticator revision
      • getCredentialVerificator

        CredentialVerificator getCredentialVerificator()
        Get authenticator verificator
        Returns: