jforums integration with another web application

hi,
I would like to integrate jfourms with another web application for example that is ABC application. If login into the ABC application, automatically it enter into jforums also. This is my requirement.

what i make the changes in jforums and ABC application. If anyone knows please give me reply.