We are using LdapIdentityProvider.xml to connect to our organization's Ldap interface for the login functionality in AEM.
As a security measure, We want to move the password information to 'vault secrets management system'. We have a custom service , which we use to read vault secrets.
Could anyone please help with a way to extend AEM Ldap service (not sure of the exact name of service) , so that we can add our custom code to read Ldap secret from vault ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @sarthakuiit
To achieve this
Create a Vault Configuration
Update LDAP Identity Provider Configuration
Modify the LdapIdentityProvider.xml configuration to use placeholders for the LDAP credentials, which will be replaced at runtime.Create a Custom OSGi Service
Reference Custom Service in LDAP Identity Provider
Modify the LDAP Identity Provider code to reference your custom service for retrieving the LDAP password.
Update Component and Service References:
Hope this helps!
Thanks,
Kiran Vedantam.
@aanchal-sikka @JoseManuel121 @Lokesh_Vajrala @ksh_ingole7 @Kiran_Vedantam @Uppari_Ramesh Can you please review this unanswered question? Appreciate your thoughts on this.
Views
Replies
Total Likes
Hi @sarthakuiit
To achieve this
Create a Vault Configuration
Update LDAP Identity Provider Configuration
Modify the LdapIdentityProvider.xml configuration to use placeholders for the LDAP credentials, which will be replaced at runtime.Create a Custom OSGi Service
Reference Custom Service in LDAP Identity Provider
Modify the LDAP Identity Provider code to reference your custom service for retrieving the LDAP password.
Update Component and Service References:
Hope this helps!
Thanks,
Kiran Vedantam.
Views
Likes
Replies
Views
Likes
Replies