which is better for using external authentication with DB ?
Based on the scenarios - please share any point of views / additional inputs
Scenario1 :- Which is better for custom authentication with a DB - User name and Password in DB and no need them to be synced into AEM
(1) Simple Servlet Filter for url pattern & then a Servlet for login form
(2) Sling Custom Authentication Handler & Custom Login Module with Pre - Authenticated State
(3) OAK Identity provider & Custom Login Module with Pre - Authenticated State
From my POV would prefer an (1) Servlet - Clean and Simple also web entry is the first layer of defense - any additional point of views ?
Scenario2 - Which is better for custom authentication with a DB - User name and Password in DB and need to sync them to AEM for JCR permisons
(1) Simple Servlet Filter for url pattern & then a Servlet for login form
(2) Sling Custom Authentication Handler & OOTB Login Module
(3) OAK Identity provider & OOTB Login Module
From my POV would prefer an (2) or (3) as user needs to be synced and need a jcr session any additional point of views ?
