eclipse-vertx / eclipse-vertx/vertx-auth

AuthProperties to load from input stream so the resource can be loaded more flexible

Open
#728 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
175
Forks
159
Avg merge
6m
Merged PRs (30d)
2

Description

### Describe the feature

In the class `https://github.com/eclipse-vertx/vertx-auth/blob/master/vertx-auth-properties/src/main/java/io/vertx/ext/auth/properties/impl/PropertyFileAuthenticationImpl.java` then the properties file can only be provided as a file path.

But you may want to load this from classpath, or other resources and need more control. So it would be great if you can provide an InputStream, or a Properties or something where the content is pre loaded.

At Apache Camel we would also like to support the properties file to have ENV variable references so you can make access control that is more flexible.

https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/Issue.20with.20basic.20auth.20configuration.20using.20main.20runtime/with/536736508

### Contribution

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.