Interface PasswordExchange

  • All Superinterfaces:
    pl.edu.icm.unity.engine.api.authn.CredentialExchange
    All Known Implementing Classes:
    PasswordVerificator

    public interface PasswordExchange
    extends pl.edu.icm.unity.engine.api.authn.CredentialExchange
    Allows for exchanging a regular passphrase.
    Author:
    K. Benedyczak
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      pl.edu.icm.unity.engine.api.authn.AuthenticationResult checkPassword​(java.lang.String username, java.lang.String password, pl.edu.icm.unity.engine.api.authn.remote.SandboxAuthnResultCallback sandboxCallback)
      Verifies the user provided credentials.
      pl.edu.icm.unity.engine.api.authn.CredentialReset getCredentialResetBackend()  
      • Methods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialExchange

        getExchangeId
    • Method Detail

      • checkPassword

        pl.edu.icm.unity.engine.api.authn.AuthenticationResult checkPassword​(java.lang.String username,
                                                                             java.lang.String password,
                                                                             pl.edu.icm.unity.engine.api.authn.remote.SandboxAuthnResultCallback sandboxCallback)
                                                                      throws pl.edu.icm.unity.engine.api.authn.AuthenticationException
        Verifies the user provided credentials.
        Parameters:
        username -
        password -
        sandboxCallback - typically null, if in sandbox mode provides callback.
        Returns:
        Throws:
        pl.edu.icm.unity.engine.api.authn.AuthenticationException
      • getCredentialResetBackend

        pl.edu.icm.unity.engine.api.authn.CredentialReset getCredentialResetBackend()
        Returns:
        credential reset backend