Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM 6.1 Login Module Plugin/Authentication Handler

Avatar

Level 8

Does anyone have an example of an Authentication Handler and/or Login Module for AEM 6.1?

I have something in place but i keep getting the following message:

12.02.2016 09:30:42.321 *WARN* [qtp933178697-315] org.apache.sling.auth.core.impl.SlingAuthenticator handleSecurity: AuthenticationHandler did not block request; access denied

And I don't know how to resolve it.

For some background - my use case is that i have an external web service i need to authenticate a user against - the user does NOT need to be stored in AEM, but we need to be able to determine if the current request is authenticated throughout other pages in the website.  What is the suggested implementation for this?

I also cannot use an ExternalIdentityProvider because in the system that authenticates the user, users can have duplicate user names but different passwords.  I already have this in place (and syncing users) but because of the duplicate issue this is no longer viable.

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Correct answer by
Level 10

You can refer [1] [2] to check on how to write custom external Login module

[1]https://helpx.adobe.com/experience-manager/using/oak-login.html

[2]http://adobeaemclub.com/custom-external-login-module/

Avatar

Level 8

Thanks Lokesh, i'll take a look and let you know if that works for me!

Avatar

Level 4

Where you able to resolve this error message? I'm getting the same message while attempting to configure Oauth for communities on my local publish instance using Social Login with Facebook and Twitter