Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBManager: auth plugin support #834

Open
EPluribusUnum opened this issue Feb 5, 2025 · 3 comments
Open

FBManager: auth plugin support #834

EPluribusUnum opened this issue Feb 5, 2025 · 3 comments

Comments

@EPluribusUnum
Copy link

Hi Mark!

Currently you can't create database via FBManager with Legacy_Auth, there is no auth plugin support on the class.
(And there is no way "hook in", everything is private in FBManager, can't add plugin support via extends)

Workaround : directly use FbDatabaseFactory and FbConnectionProperties

Thank you!

@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented Feb 5, 2025 via email

@mrotteveel
Copy link
Member

Since Jaybird 6, you can also use the createDatabaseIfNotExist property using JDBC (see https://firebirdsql.org/docs/drivers/java/6.0.x/release_notes.html#create-database-if-not-exist). That said, I'll fix it; it looks like this API can use a broader overhaul so other things can be configured as well.

That said, I don't see a good reason why you would still be using legacy_auth.

@mrotteveel
Copy link
Member

To be backported to v5 and v6 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants