Hi
I have solved the mutual authentication problem.Now I can handle various clients and can maintain their lists in the server side.
The settings actually were quite simple....I found out the solution from jws 1.0
doc For mutual authentication I had to follow these steps.
I created a keystore for the server side using keytool with the server details.Then exported the contents into a file which acted as the public key certificate for the server.I gave the path of the keystore file in ssl connector tag in server.xml.
Client also generates a certificate from his/her side and exports the contents into a file which acts as the public key holder for the client.
The server certificate is passed to the client which client imports into his/her keystore.
Same happens at the server side.
The server imports the client certificate into his/her keystore.
The client just needs to set his/her keystore location and the password to it.
That's it and bingo.......
Cheers.....
Sabyasachi