There is an already running webservice and users are authenticated through it. This service puts a field "uid" for user id in the request header for further reference in the consequent requests. I need to by-pass the Jtrac login, check if the "uid" belongs to a set of users(from database) and if yes, the user should be set in Jtrac's session, using the "uid" provided by my web service.
Eg: User authenticates to my web service. Now he should directly see the dashboard if his "uid" is there in the database being used for Jtrac.
It is like I want to authenticate using "uid" alone and not show the Jtrac login screen for sure.