Interface KeyringBackend

    • Method Detail

      • getPassword

        String getPassword​(String service,
                           String account)
                    throws PasswordAccessException
        Gets password from key store.
        Parameters:
        service - Service name
        account - Account name
        Returns:
        Password related to specified service and account
        Throws:
        PasswordAccessException - Thrown when an error happened while getting password
      • deletePassword

        void deletePassword​(String service,
                            String account)
                     throws PasswordAccessException
        Deletes password from keystore.
        Parameters:
        service - Service name
        account - Account name
        Throws:
        PasswordAccessException - Thrown when an error happened while deleting the password (including if it is not found).