Interface HttpAuthenticationFeature.Builder

    • Method Detail

      • credentials

        HttpAuthenticationFeature.Builder credentials​(java.lang.String username,
                                                      byte[] password)
        Set credentials.
        Parameters:
        username - Username.
        password - Password as byte array.
        Returns:
        This builder.
      • credentials

        HttpAuthenticationFeature.Builder credentials​(java.lang.String username,
                                                      java.lang.String password)
        Set credentials.
        Parameters:
        username - Username.
        password - Password as String.
        Returns:
        This builder.
      • build

        HttpAuthenticationFeature build()
        Build the feature.
        Returns:
        Http authentication feature configured from this builder.