Announcement Announcement Module
No announcement yet.
How to use KeyBasedPersistenceTokenService Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use KeyBasedPersistenceTokenService

    Hi, I am totally new to spring security. I am required to enhance the authentication aspect of our app. Currently, we use basic authentication and remember me functionality offered by spring security. I understand the authentication flow to some extent now.

    I need to design authentication mechanism where user once successfully logged in, should get a token by authentication server and on subsequent requests they should send that token along with request, which can be validated by any server which handles the request without doing extra look up into the data source to validate user credentials.

    I understand this in theory by have no practical experience in this domain. After doing some reading and discussion I found this "KeyBasedPersistenceTokenService" class promising. But the problem is I can't find tutorials around it. Can some one point me to some tutorials or example which demonstrates how to use KeyBasedPersistenceTokenService?