bootique/bootique-jersey-client

Support for authentication filters

andrus opened this issue · 0 comments

Let's support transparent configuration-driven authentication options for the client, starting with BASIC. Sample YAML:

jerseyclient:
  auth:
    name1:
       type: basic
       username: u1
       password: p1

HttpClientFactory can be extended to get an authenticated client referencing named auth:

Client newAuthenticatedClient(String authName)