Skip to content

Conversation

agherardi
Copy link
Contributor

@agherardi agherardi force-pushed the authCache branch 2 times, most recently from 6ab0021 to dc8d4e7 Compare June 18, 2018 14:53

private String getCacheKey(ClientRequestContext request) {
return request.getUri().toString() + ":" + request.getMethod();
URI requestUri = request.getUri();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method duplicates code from DigestAuthenticator#getCacheKey. Does it make sense to put the code to a new static method to a new utility AuthenticationUtil class in the package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, asbolutely. Done.

@agherardi agherardi force-pushed the authCache branch 2 times, most recently from e3d8d43 to c74a9ac Compare June 20, 2018 14:45
Signed-off-by: agherardi <alessandro.gherardi@yahoo.com>
@jansupol jansupol merged commit 501befb into eclipse-ee4j:master Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants