Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.1 Login Module Plugin/Authentication Handler

leeasling
Level 8
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
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor
0 Replies
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

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/

leeasling
Level 8
Level 8

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

crisr1
Level 4
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