Is there a way to extend the login process to run some custom code? What I'm trying to acheive is this: When the user logs into the portal, I want to run code that would remotely log the user into a Lotus Domino server (using the username/password the user entered in the default JBoss portal login form) and retrieve a session token. I don't know where or how to plug this into the login process. We are using JBoss Portal 2.7.2 and JBoss 4.2.3.GA.
Thanks,
Scott
Yes, This can be done. You can write your custom login module. For creating custom login module refer to JAAS documentation and specify your login module in
jboss-portal.sar/conf/login-config.xml