Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions presto-docs/src/main/sphinx/connector/iceberg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ Property Name Description
Available values are ``BASIC`` or ``BEARER``.
Example: ``BEARER``

**Note:** Nessie BASIC authentication type is deprecated,
this will be removed in upcoming release

``iceberg.nessie.auth.basic.username`` The username to use with ``BASIC`` authentication.
Example: ``test_user``

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@

public enum AuthenticationType
{
/**
* Nessie BASIC authentication type is deprecated, this auth type will be removed in upcoming release.
* https://github.com/projectnessie/nessie/blob/nessie-0.59.0/api/client/src/main/java/org/projectnessie/client/NessieConfigConstants.java#L34
*/
@Deprecated
BASIC,
BEARER
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,25 +75,29 @@ public Optional<AuthenticationType> getAuthenticationType()

@Config("iceberg.nessie.auth.basic.username")
@ConfigDescription("The username to use with BASIC authentication")
@Deprecated
public NessieConfig setUsername(String username)
{
this.username = username;
return this;
}

@Deprecated
public Optional<String> getUsername()
{
return Optional.ofNullable(username);
}

@Config("iceberg.nessie.auth.basic.password")
@ConfigDescription("The password to use with BASIC authentication")
@Deprecated
public NessieConfig setPassword(String password)
{
this.password = password;
return this;
}

@Deprecated
public Optional<String> getPassword()
{
return Optional.ofNullable(password);
Expand Down