Interface Credentials.Encoder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String encode​(BareJID user, java.lang.String password)
      Encrypt plaintext password for user
      java.lang.String getName()
      Name of mechanism for which encoder works
    • Method Detail

      • getName

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

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