@Override
 public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
   endpoints
       .authenticationManager(authManager)
       // .tokenStore(inMemory)
       .accessTokenConverter(jwtAccessTokenConverter());
 }
 @Override
 public void configure(AuthorizationServerEndpointsConfigurer configurer) throws Exception {
   configurer
       .tokenStore(tokenStore())
       .authenticationManager(authenticationManager)
       .userApprovalHandler(new DefaultUserApprovalHandler());
 }
 @Override
 public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
   endpoints.authenticationManager(authenticationManager)
   //			.tokenStore(tokenStore)
   //			.reuseRefreshTokens(false)
   ;
 }
 @Override
 public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
   endpoints
       .tokenStore(tokenStore)
       .userApprovalHandler(userApprovalHandler)
       .authenticationManager(authenticationManager)
       .userDetailsService(userDetailsService);
 }
 @Override
 public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
   endpoints
       .tokenStore(getTokenStore())
       .authenticationManager(this.authenticationManager)
       .userDetailsService(userDetailsService)
       .tokenEnhancer(tokenEnhancer());
 }
 @Override
 public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
   endpoints.tokenStore(tokenStore()).authenticationManager(this.authenticationManager);
 }