title: How to expire refresh token after 15 minutes on grails spring security rest application
body: <p>We are working in a Grails 3.2.12 project using Spring Security Core(3.0.0) and Spring Security  Rest plugin(2.0.0.M2) for user authorization and access control.</p>
  
  <p>Now, we need to implement a way to expire the user access after 15 minutes of inactive in the system.</p>
  
  <p>The project is configured to expire the access token 15 minutes after login and the refresh token process is inactive, so, the user need to login again.</p>
  
  <p>The problem is that refresh token never expire by default, and if we implement the refresh token process, the user access never expire.</p>
  
  <p>What is the solution that we planned: We will change the expiration time  of access token for 5 minutes, and create an expiration time for the refresh token for 15 minutes.</p>
  
  <p>There are any way to create an expiration time for the refresh token on  grails spring security rest plugin?</p>