Hello, We have a "microservices" style infrastructure where each component is it's own service. They all have BasicAuth using the dropwizard basic auth authentication model. Some services need to talk to other microservices, so I'm using the Jersey Client to make those calls. However, I need to pass the Basic Auth token from one service to another. Is there a way of accessing the basic auth token from my resource? (I.E at authentication level, once the user is authenticated, pass that auth token to the client in the resource).
Right now I have to hardcode the token in for a user, or store the password in Principal and create the token from that when making a client request. Both of these methods are obviously insecure. Thanks -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
