We have two famous plugin for authentication and authorization in Play Framework, Silhouette and Deadbolt 2. My question is What is the difference between these two plugin? and for what situation we should use Silhouette or Deadbolt 2?
Deadbolt 2 is only an authorization framework. Silhouette is an authentication framework which supports also a basic authorization mechanism.
If you need authentication (web form, social, two factor, basic auth, ...) then you need Silhouette.
If you need authorization (manage access to your actions) then you need either Deadbolt 2 or Silhouette. Where Deadbolt 2 is the more powerful one in the authorization area.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With