I have a requirement to develop a login page using AEM and it has to get access through the Existing Traditional Java Web application to authenticate and allow customer to login. What is the best practice to do this with AEM 6.1??
Solved! Go to Solution.
I actually just did this exact requirement yesterday. You can create a custom Identity Provider by implementing "ExternalIdentityProvider" and overriding the authenticate method to perform your authentication.
This code was extremely helpful for me in completing this task https://github.com/Adobe-Marketing-Cloud/aem-ldap-tutorial/tree/master/step-04/example-idp/src/main/...
My version hits an external REST API, performs the authentication and then utilizes AEM for syncing the user details.
If you choose this method you'll need to have a configuration added for DefaultSyncHandler and ExternalLoginModuleFactory.
Views
Replies
Total Likes
Hi Krishna,
Expose your authentication as a REST service from your java web application. Now you can write your authentication handler and call the external java application service to authenticate.
Regards,
Lokesh
bsloki wrote...
Hi Krishna,
Expose your authentication as a REST service from your java web application. Now you can write your authentication handler and call the external java application service to authenticate.
Regards,
Lokesh
Hi bsloki,
Thanks for your reply. I'll work on it.
Regards,
Krishna
Views
Replies
Total Likes
In addition to what Lokesh suggested - you can watch a webinar by Justin (our AEM Evangelist) on AEM and secure sites- see this article. The link is in the table at this start of the article:
https://helpx.adobe.com/experience-manager/using/secure_sites.html
This will provide good background on this subject.
smacdonald2008 wrote...
In addition to what Lokesh suggested - you can watch a webinar by Justin (our AEM Evangelist) on AEM and secure sites- see this article. The link is in the table at this start of the article:
https://helpx.adobe.com/experience-manager/using/secure_sites.html
This will provide good background on this subject.
Thanks Scott. I appreciate your response. I will go through it.
Regards,
Krishna
Views
Replies
Total Likes
I actually just did this exact requirement yesterday. You can create a custom Identity Provider by implementing "ExternalIdentityProvider" and overriding the authenticate method to perform your authentication.
This code was extremely helpful for me in completing this task https://github.com/Adobe-Marketing-Cloud/aem-ldap-tutorial/tree/master/step-04/example-idp/src/main/...
My version hits an external REST API, performs the authentication and then utilizes AEM for syncing the user details.
If you choose this method you'll need to have a configuration added for DefaultSyncHandler and ExternalLoginModuleFactory.
Views
Replies
Total Likes