Adding auth headers

Adding auth headers to eureka client and server outbound requests.
Adding filter to optionally log auth headers in eureka server.
Can we use the same class for both client & server?