Closed bclozel closed 12 years ago
Thanks for these very useful improvements.
I am fine with the proposed improvement, just please add some tests for token renewal with Spring Secureity OAuth2 serverside. There are some existing OAuth2 integration tests that could be used for that by configuring a Spring Security OAuth 2 context with refresh token enabled.
Allow users to redefine OAuth2.0 token header key sent along resource requests. Default value is "Bearer".
Implement auto-renewal of the OAuth2.0 token when it's expired. I didn't implement this as a ResponseFilter because:
Don't merge this pull request now. I'll probably modify it, I'm waiting for feedback on that matter.