osiam / resource-server

[DEPRECATED] OSIAM resource server
MIT License
3 stars 10 forks source link

Better log message if auth-server can't be reached #80

Closed wallner closed 9 years ago

wallner commented 9 years ago

Provide a meaningful log message if the auth-server cannot be reached to validate a provided access token.

This commit also turns the connector in the AccessTokenValidationService into a field instead of creating it for every request.

It adds one test for the code added, however the whole class lacks tests, we should add them.

Fixes #52.

tkrille commented 9 years ago

@dacrome I've assigned you, because it appears to me that you are reviewing this PR.

dacrome commented 9 years ago

Thank you!