2

I've been searching over the net on how to make a Single Sign On Joomla 3.3 to work with a system that is based on Java. Both Joomla portal and java system are under the same server.

I need it to work when:

  1. User login using their username and password from frontend joomla portal
  2. After login, user can also access the the system without a need to login again

It can happen vice versa as well.

I've got LDAP configured and enabled however still could not get the SSO to work.

Also I have JMapMyLDAP plugin installed and configured and it works well with OpenLDAP. But SSO is not working.

Pretty much in stall now. Is there any idea?

Any advice?

1

The are several authentication plugins in Joomla. For instance: Authentication - LDAP plugin.

Lightweight Directory Access Protocol (LDAP) is a protocol designed to access directory systems over TCP/IP. Because of this various databases provide an LDAP interface such as Microsoft's Active Directory, Novell's eDirectory, as well as more dedicated LDAP solutions such as OpenLDAP.

Joomla! has had a native LDAP library, JLDAP Joomla 2.5 (changed to JClientLDAP in Joomla 3.x) and a native LDAP authentication plugin. This allows Joomla! to authenticate against LDAP systems out of the box: to configure, go to the Plugin Manager and enable and edit the Authentication - LDAP plugin.

Developer: LDAP from scratch http://community.joomla.org/component/zine/article/507-developer-ldap-from-scratch-sam-moffatt.html

Developer: LDAP from scratch

You can use any of them, or create a new one based on the available source code.

1

We've never had much luck with Joomla's built-in LDAP support especially for SSO, and with due respect to @Anibal that community magazine article is six or seven years out of date and written for Joomla 1.5.4 and AFAIK didn't support SSO at all.

In the past we've used the JMapMyLDAP Tools for client intranets where they've had everything from OpenLDAP to Active Directory based systems. You can download the plugins from their website.

The documentation can be found here, the SSO Trouble Shooting page is here.

Update: I found this article for v1 of JMapMyLDAP Tools which is at least more recent than the 2007/8 article, albeit about Active Directory.

  • Thanks for reply. Actually I have JMapMyLDAP plugin installed. And successfully configure it to work with OpenLDAP. However it doesn't work for SSO. – Syafiq AZ Oct 17 '14 at 1:05
  • Did you check the SSO trouble shooting page? shmanic.com/tools/jmapmyldap/documentation/… – Craig Oct 17 '14 at 1:53
  • Yes I have double check, the problem still remain as I login the portal, my system still display the login page. Do I need to do something with the system? LDAP in there is enable though – Syafiq AZ Oct 17 '14 at 3:30
  • LDAP authentication / basic authentication principles / authentication plugins have not chanced very much since 1.5 – Valentin Despa Nov 18 '14 at 21:03
0

For SSO with JMapMyLDAP, once it's enabled in the plugin, make sure your sign-in page on the web server has at least basic authentication enabled. If your machine is not part of a domain or you don't have NTLM-IWA configured you'll get a a simple username/pass window.

For testing set JMMLDAP to 'force login'. Then when you login to the basic auth window you'll be automatically logged into the site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.