Skip to content

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

Description

@davsclaus

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions