Interface Credentials.Encoder

    • Method Detail

      • getName

        String getName()
        Name of mechanism for which encoder works
        Returns:
        name of mechanism for which encoder works
      • encode

        String encode​(BareJID user,
                      String password)
        Encrypt plaintext password for user
        Parameters:
        user - for which encrypt
        password - to encode
        Returns:
        encrypted plaintext password for user