t2v / play2-auth

Play2.x Authentication and Authorization module
Apache License 2.0
608 stars 142 forks source link

Remove Play's Crypto & implement Signer(For future Play2.6 support ) #190

Closed tokkiyaa closed 5 years ago

tokkiyaa commented 6 years ago

Purpose of this PR

play.api.libs.Crypto is deprecated when Play2.5 released, then, removed when when Play2.6 released. In order to use play2-auth with Play2.6, CryptoMigration is unavoidable. This PR replaces play.api.libs.Crypto with Handmaid Signer(imitation of play.api.libs.Crypto).

Detail of Implemented Signer

Reference link

https://www.playframework.com/documentation/2.5.x/Migration25 https://www.playframework.com/documentation/2.6.x/Migration26 https://www.playframework.com/documentation/2.6.x/CryptoMigration25