I am having an existing web application that already has SSO implemented. With the current implementation, the user ID (or his token) is available on session object when redirect from the portal site to Jforum. What I wanted is to have a mechanism to automatically register that user ID to the system and allow him to update password and personal information straightaway. The steps are
1. Get user ID, email address from the session object (or retrieve it from LDAP server using user ID)
2. Check if user is exist in Jforum DB. If it's exist, then login the user automatically otherwise, an update user information page should be displayed, the user name, email should be filled automatically (user can change them to other value ofcourse)
3. As soon as they complete the page, they are login automatically when redirect from the portal page.
Could you please tell me if this is possible? In case it's possible, where should I started looking in the code to make necessary change?
Ly [originally posted on jforum.net by gaucha]
Migrated From Jforum.net
posted 12 years ago
Yes, that's possible.
Take a look in the existing SSO implementations and in the class DefaultLoginAuthenticator.java.