Need LDAPS Authentication Example

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Need LDAPS Authentication Example

Narendra Agashe
Where can I find an example for LDAP authentication, I did not see any in pac4j or ratpack.
any help would be greatly appreciated.

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Need LDAPS Authentication Example

leleuj
Hi,

pac4j relies on Ldaptive for LDAP support.

Thanks.
Best regards,
Jérôme

2016-03-22 10:42 GMT+01:00 Narendra Agashe [via Ratpack Forum] <[hidden email]>:
Where can I find an example for LDAP authentication, I did not see any in pac4j or ratpack.
any help would be greatly appreciated.

Thanks!


If you reply to this email, your message will be added to the discussion below:
http://forum.ratpack.io/Need-LDAPS-Authentication-Example-tp1459.html
To start a new topic under Ratpack Forum, email [hidden email]
To unsubscribe from Ratpack Forum, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Need LDAPS Authentication Example

Narendra Agashe
Thanks a lot Jérôme for your quick reply. When the reply comes from person who has written LDAPAuthenticator it really feels thrilling. :)
I might need some more help as I go on exploring.

Narendra
Reply | Threaded
Open this post in threaded view
|

Re: Need LDAPS Authentication Example

leleuj
Glad to help. Don't hesitate to ask your questions on the pac4j mailing list (https://groups.google.com/forum/?fromgroups#!forum/pac4j-users) as well...

2016-03-22 11:45 GMT+01:00 Narendra Agashe [via Ratpack Forum] <[hidden email]>:
Thanks a lot Jérôme for your quick reply. When the reply comes from person who has written LDAPAuthenticator it really feels thrilling. :)
I might need some more help as I go on exploring.

Narendra


If you reply to this email, your message will be added to the discussion below:
http://forum.ratpack.io/Need-LDAPS-Authentication-Example-tp1459p1461.html
To start a new topic under Ratpack Forum, email [hidden email]
To unsubscribe from Ratpack Forum, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Need LDAPS Authentication Example

Mini
For an LDAPS or HTTPS connection, the java runtime needs to use the respective SSL certificate for creating a secured connection with the server at the other end .How to connect LDAPS over SSL ?
Reply | Threaded
Open this post in threaded view
|

Re: Need LDAPS Authentication Example

Narendra Agashe
In reply to this post by leleuj
Jerome, I am sorry for troubling you again. I tried the example it works when you have a non secured LDAP connection but in my case I am trying to connect to a secured LDAP with "ldaps://url:portNumber", I also need to present security certificate to LDAP for connection. I believe for this kind of connectivity I will need a trust store which will store the certificate, in order to present the certificate to LDAP. I am not able to pass the path to trust store while connecting to LDAP through ratpack, could you please guide me?

Thanks,
Narendra  
Reply | Threaded
Open this post in threaded view
|

Re: Need LDAPS Authentication Example

leleuj
Hi,

You should find everything you need in this documentation: http://www.ldaptive.org/docs/guide/connections.html

Thanks.
Best regards,
Jérôme


2016-07-14 16:38 GMT+02:00 Narendra Agashe [via Ratpack Forum] <[hidden email]>:
Jerome, I am sorry for troubling you again. I tried the example it works when you have a non secured LDAP connection but in my case I am trying to connect to a secured LDAP with "ldaps://url:portNumber", I also need to present security certificate to LDAP for connection. I believe for this kind of connectivity I will need a trust store which will store the certificate, in order to present the certificate to LDAP. I am not able to pass the path to trust store while connecting to LDAP through ratpack, could you please guide me?

Thanks,
Narendra  


If you reply to this email, your message will be added to the discussion below:
http://forum.ratpack.io/Need-LDAPS-Authentication-Example-tp1459p1546.html
To start a new topic under Ratpack Forum, email [hidden email]
To unsubscribe from Ratpack Forum, click here.
NAML