Class AbstractLocalVerificator

    • Field Detail

      • credentialName

        protected java.lang.String credentialName
    • Constructor Detail

      • AbstractLocalVerificator

        public AbstractLocalVerificator​(java.lang.String name,
                                        java.lang.String description,
                                        java.lang.String exchangeId,
                                        boolean supportingInvalidation)
    • Method Detail

      • getCredentialName

        public java.lang.String getCredentialName()
        Specified by:
        getCredentialName in interface LocalCredentialVerificator
        Returns:
        the name of the credential definition associated with this verificator
      • setCredentialName

        public void setCredentialName​(java.lang.String credentialName)
        Description copied from interface: LocalCredentialVerificator
        Sets credential definition name for this verificator. This is only required to perform resolving of the client's identity, to get a proper credential. It is irrelevant for credential's storage.
        Specified by:
        setCredentialName in interface LocalCredentialVerificator
      • setSupportingInvalidation

        public void setSupportingInvalidation​(boolean supportingInvalidation)
      • updateCredentialAfterConfigurationChange

        public java.util.Optional<java.lang.String> updateCredentialAfterConfigurationChange​(java.lang.String currentCredential)
        Description copied from interface: LocalCredentialVerificator
        Returns optionally changed argument credential, which can be transformed after the change of configuration. It can be assumed that argument credential was created with some old configuration and that the current object is configured with the new one.
        Specified by:
        updateCredentialAfterConfigurationChange in interface LocalCredentialVerificator