5 Replies Latest reply on Jun 17, 2005 2:59 AM by Fabio Canepa

    jaas identity replaced

    amdonov Newbie

      I have a custom login module that uses client certificates. It sets the identity to a SimplePrincipal with the CN portion of the certificate. However, in my servlet calls to request.getUserPrincipal().getName() return the entire subject DN. I checked, and the principal is an instance of sun.security.x509.X500Name. When does this replacement happen? How do I stop it? I am running JBoss 4.0.1 on Windows XP with Sun's JDK 1.5.

      Thanks for any help.