0 Replies Latest reply on Jul 6, 2009 4:20 PM by ndrw_cheung

    Changing the login flow

    ndrw_cheung

      Hi, all. I'm using JBOSS portal version 2.4, JBOSS AS 4.0.5GA. Got a question about how to change the login flow. The scenario is as follows:

      A user authenticates himself to an LDAP server (eDirectory in my case) to try to log into the portal. (We have extended the LDAPLoginModule to achieve the authentication). After the module validates the password, I need to do a few checks according to some business rules, and then direct the user to different parts of the portal based on the results of these checks.

      Where is the best place to put in the code to do the checks for the business rules? If possible, I would prefer NOT to modify the code that makes up the out-of-the-box jar files in portal-core etc folders.

      Thanks in advance for answering.

      -Andrew