Include Certificates into Java
Hi!
I wrote a web service in Java and now I want to secure the connection.
I have an Apache Web Server with a MySQL Database. Now I want to give any user of my web service a certificate, so everyone can authenticate himself. In MySQL I give everyone the relevant rights.
The user has to include the certificate into his web browser. Afterwards my web service should use this certificate to authenticate the user and give him only the allowed information from the MySQL database.
My question is now: Is this possible?
The web service was implemented in googles web toolkit. I think the only problem is to import some information from the certificate into my java code. Then I can read a special view for example.
But how can I initiate a connection between the certificate and my web service?
Thanks a lot!
|