Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Silhouette and Deadbolt 2 in Play Framework

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?

like image 554
Saeed Zarinfam Avatar asked Oct 05 '15 10:10

Saeed Zarinfam


Video Answer


1 Answers

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.

like image 100
akkie Avatar answered Oct 16 '22 16:10

akkie