jvelo / mayocat-shop

[RETIRED] Open source e-commerce and marketplaces made simple on the JVM
Other
173 stars 116 forks source link

Support for token based sessions #237

Open jvelo opened 9 years ago

jvelo commented 9 years ago

Right now user sessions are supported through encrypted/signed cookies. There is a cost associated with this strategy which is not negligible : the password as to be verified for each request, and we must keep a verification cost high enough so that hashes can't be brute forced. Right now the cost is about 100ms per verification. With token based sessions, this cost goes away and we can even increase the password verification time since it will happen only upon login

jvelo commented 8 years ago

See http://jwt.io/