Hello,
We are using fedict jar files for the authentication, identification of
eid card. We also you jtrust for OCSP and CRL validation for
authentication purpose.
We implement the AuthenticationService interface where we do certificate
chain validation using jtrust.
example.,
....
try {
trustValidator.isTrusted(certificates);
} catch (final CertPathValidatorException exc) {
throw new SecurityException("Certificate does not valid");
}
.....
Now i have problem when i got exception from jtrust the "untrusted
certificate" i transformed it into the security exception and throw it.
I expected that i will recive the security error message on web page but i
got generic error message with the following error trace.
......
sending message: AuthenticationDataMessage
current protocol state: AUTHENTICATE
SSL handshake finish cipher suite: SSL_RSA_WITH_RC4_128_MD5
error: no protocol version header
error type: java.lang.RuntimeException
at be.fedict.eid.applet.shared.protocol.Unmarshaller.receive:222
at be.fedict.eid.applet.Controller.sendMessage:201
at be.fedict.eid.applet.Controller.performEidAuthnOperation:1014
at be.fedict.eid.applet.Controller.run:342
at be.fedict.eid.applet.Applet$AppletThread$1.run:525
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:520
at java.lang.Thread.run:-1
Generic Error.
.....
From initial invesitgation we found that during unmarshalling of object
there is no protocolVersionHeaderName.
This is really blocing issue for us.
What is the possible situation to overcome this issue?
Thanks in advance,
Kr,
U
Original issue reported on code.google.com by urvishmp...@gmail.com on 19 Jan 2010 at 5:31
Original issue reported on code.google.com by
urvishmp...@gmail.com
on 19 Jan 2010 at 5:31