I've managed to successfully install a ContainerRequestFilter that
currently just displays (logs) the principal via
ContainerRequest.getUserPrincipal(). When I tested, I found I was
getting an SSL exception - unknown cert (from my browser). I installed
my browser's cert into the truststore, and the SSL error went away, but
the Principal returned is still null.
What do I have to do in Jersey/Spring to get the request's Principal
object to be populated with the X.509 certificate identity (subjectName,
or whatever)? Clearly, I'm missing some wiring here.
Thanks,
John