Interface PromptUserPassword2

    • Field Detail

      • AcceptTemporary

        static final int AcceptTemporary
        Accept the connection to the server once.
        See Also:
        Constant Field Values
      • AccecptTemporary

        static final int AccecptTemporary
        Deprecated.
        Use the correctly spelled "AcceptTemporary" constant instead.
        See Also:
        Constant Field Values
      • AcceptPermanently

        static final int AcceptPermanently
        Accept the connection to the server forever.
        See Also:
        Constant Field Values
    • Method Detail

      • askTrustSSLServer

        int askTrustSSLServer​(java.lang.String info,
                              boolean allowPermanently)
        If there are problems with the certifcate of the SSL-server, this callback will be used to deside if the connection will be used.
        Parameters:
        info - the probblems with the certificate.
        allowPermanently - if AcceptPermantly is a legal answer
        Returns:
        one of Reject/AcceptTemporary/AcceptPermanently