I've a custom Verifier that implements X509CertificateVerifier, which I use with BaseCertLoginModule for client-auth.
My problem is that I need to get IP address and session-id into this Verifier. I tried with
HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
... but Request is always null
Does anyone knows some way to get the Request object into an "standard" java class, in this case an X509CertificateVerifier, which is instantiated by BaseCertLoginModule?
Retrieving data ...