@Override public void storeAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication) { OAuth2AuthenticationAccessToken oAuth2AuthenticationAccessToken = new OAuth2AuthenticationAccessToken( token, authentication, authenticationKeyGenerator.extractKey(authentication)); oAuth2AccessTokenDao.save(oAuth2AuthenticationAccessToken); }