Expand my Community achievements bar.

Using LDAP for Authorization

Avatar

Former Community Member

We would like to use an external SAML-based mechanism for single-sign-on between AEM and other platforms. From there, we would like to populate that user with authorization information (roles, user type) pulled from another external system.

A few questions:

  1. I know that both authentication and authorization could be done with external LDAP. Could I do authentication via SAML (not LDAP), and then authorization via LDAP?
  2. If so, is there a programmatic way I could do the second part (authorization, meaning group and user type population) with my own custom provider?

Thanks, Gary

6 Replies

Avatar

Administrator

Hi, 

This is not the answer to you question but i would like to share with you one reference article:- https://helpx.adobe.com/experience-manager/kb/saml-demo.html

I hope other experts would help you here.

~kautuk



Kautuk Sahni

Avatar

Former Community Member

Thanks. It helps with authentication, but doesn't answer my authorization questions.

I see from this document (http://wwwimages.adobe.com/content/dam/Adobe/en/security/pdfs/adobe-aem-managed-services-security.pd...) that custom security integrations are possible. Who can explain to me exactly what that means?

Thanks, Gary

Avatar

Level 3

write a custom authentication handler by implementing AuthenticationHandler and custom login module by extending AbstractLoginModule.

Authentication handler - get user id from request and set to Credentials

Avatar

Former Community Member

Can I handle authorization as part of that custom handler?

Thanks, Gary

Avatar

Former Community Member

Thanks. That is specifically for authentication, not authorization.

Can I also create handlers for authorization via the same JAAS mechanism as described here?

http://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASRefGuide.html#Authorization

Gary