"amdonov" wrote : 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.

Hi, I have to do exactly the same thing, associate the certificate to the user 
using a substring of the CN. Which login module should I extendend ?
Do you have any example ?

Thanx!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881770#3881770

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881770


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to