I implemented a strong authentication in a web server (apache) and it work great.
but I want to implement a java class that have to compare cac ID and suject name to the ones presents on java .properties file or XML
I implemented a strong authentication in a web server (apache) and it work great.
Share
Not sure about your deployment but for example if you need to do that from a servlet deployed in
Tomcatyou could do:If the client has send certificates then
certswill have them and you can do the check you need and possibly reject according to your needs.Note that this will happen after the SSL handshake has finished.