History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BLOJSOM-128
Type: Improvement Improvement
Status: Closed Closed
Resolution: Applied
Priority: Major Major
Assignee: David Czarnecki
Reporter: Gerardo Curiel
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
blojsom

[PATCH] LDAP over SSL Support for LDAPAutorizationProvider

Created: 24/Apr/06 12:02 PM   Updated: 24/Apr/06 12:57 PM
Component/s: blojsom add-on core
Affects Version/s: blojsom 2.30
Fix Version/s: blojsom 2.31, blojsom 3.0

File Attachments: 1. File ldapssl.diff (4 kb)


Browser: Firefox
Application Server: Tomcat 5
JDK Version: Sun JDK 1.4.2
O/S Version: Opensuse Linux And Debian


 Description  « Hide
I'm Using blojsom on my work,and i have seen that the LDAP Authentication Plugin doesn't work with SSL on port 636, it just work on ldap simple without encription.

I have modified the Plugin to allow this,reading a property from the WEB-INF/web.xml file,just like the others properties from LDAP are loaded, it just read if blog-ldap-authorization-use-ssl is true to make a conection using JSSESocketFactory as the socket factory to conections.


It works to me,i have tested it and now is running. I hope it can be on the next release of blojsom ;)

Here is the patch to allow LDAP over SSL.
Note:Please read this[0] to document the process to use SSL sockets, with Certificate Authority (CA) ,the connection works if you have the CA certificate as Trusted

[0]http://docs.sun.com/source/816-6402-10/ssl.htm

 All   Comments   Change History      Sort Order:
David Czarnecki - [24/Apr/06 12:57 PM ]
Thanks for the patch. Applied to the blojsom 2.31 and 3.0 branches.