Oauth2 Resource server: Please refer this Repo for more info: https://github.com/jinagamvasubabu/Spring-Oauth2-With-Caching