1 Reply Latest reply on Aug 8, 2009 10:04 AM by kapitanpetko

    Authentication using client certificate in smartcard

      Hello,



      Suppose i have HTTPS client authentication with user certificate on smartcard configured with Tomcat.


      How can I use it in Seam application. How to configure Authenticator component to get user certificate used in https connection?


      Regards


      Jarek

        • 1. Re: Authentication using client certificate in smartcard
          kapitanpetko

          You can get the client's certificate form the HttpServletRequest, as in plain servlets.
          You could then validate and do whatever checks you need in your authenticate method
          and return true if everything checks out.


          Something like:


          HttpServletRequest.getAttribute("javax.servlet.request.X509Certificate");
          



          HTH