How to Integrate GateIn and OpenLDAP on CentOS

1) Move the <Install Dir>/server/<Profile>/deploy/gatein.ear/02portal.war/WEB-INF/conf/organization/picketlink-idm/examples/picketlink-idm-openldap-config.xml file over the <Install Dir>/server/<Profile>/default/deploy/gatein.ear/02portal.war/WEB-INF/conf/organization/picketlink-idm/picketlink-idm-config.xml file.

2) In the picketlink-idm-config.xml file, replace dc=my-domain,dc=com by your admin DN. You may also need to change the provider URL (which uses 1389 as default port, not 389) and the admin password.

3) Load the initial entries:

ldapadd -D <Admin DN> -f <Install Dir>/<Profile>/default/deploy/gatein.ear/02portal.war/WEB-INF/conf/organization/picketlink-idm/initial-openldap.ldif -x -w <Admin Password>

4) Restart GateIn Portal.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s