Skip to content

Extract Ldap as an EnvironmentExtender#22958

Merged
Praveen2112 merged 1 commit intotrinodb:masterfrom
Praveen2112:praveen/ldap_pt_cleanup
Aug 7, 2024
Merged

Extract Ldap as an EnvironmentExtender#22958
Praveen2112 merged 1 commit intotrinodb:masterfrom
Praveen2112:praveen/ldap_pt_cleanup

Conversation

@Praveen2112
Copy link
Copy Markdown
Member

@Praveen2112 Praveen2112 commented Aug 6, 2024

We are replacing AbstractEnvSinglenode with this dedicated Ldap environment

Description

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@Praveen2112 Praveen2112 requested a review from kokosing August 6, 2024 16:55
@cla-bot cla-bot bot added the cla-signed label Aug 6, 2024
@Praveen2112 Praveen2112 force-pushed the praveen/ldap_pt_cleanup branch 2 times, most recently from 27d4785 to 2768a9f Compare August 7, 2024 06:31
Copy link
Copy Markdown
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

% comment

It is nice to see composition, over inheritance

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this already exposed? I think it is something that should be exposed for coordinator as it is a common case. If not maybe it should land in Standard instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends on the type of Coordinator - Only with for server with TLS 8443 is exposed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Standard exposes 8080 - But 8443 is special port so we could expose them on Environment specific.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should have Tls env extender?

@Praveen2112 Praveen2112 force-pushed the praveen/ldap_pt_cleanup branch from 2768a9f to 8f6e012 Compare August 7, 2024 10:29
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove wrapping with ImmutableList.of(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove wrapping with ImmutableList.of(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove wrapping with ImmutableList.of(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove wrapping with ImmutableList.of(

We are replacing AbstractEnvSinglenode with this dedicated Ldap environment
@Praveen2112 Praveen2112 force-pushed the praveen/ldap_pt_cleanup branch from 8f6e012 to adddda0 Compare August 7, 2024 11:39
@Praveen2112
Copy link
Copy Markdown
Member Author

@ssheikin Thanks for the review. AC

@@ -0,0 +1,7 @@
password-authenticator.name=ldap
Copy link
Copy Markdown
Contributor

@ssheikin ssheikin Aug 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this file come from? Looks like it did not exist previously?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously it was referred from a common class now we have duplicated it specific to this class.

@Praveen2112 Praveen2112 merged commit dcfadff into trinodb:master Aug 7, 2024
@github-actions github-actions bot added this to the 454 milestone Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants