Actually I want to explain you my situation fully. As my application is going to use LDAP server for authentication and single user database id to connect and perform all operations so this approach will not work. Sorry I should have mentioned LDAP while posting this query.Thanks for ur replies.