Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

request.getUserPrincipal() returns null

843842Nov 15 2009 — edited Nov 18 2009
I have mutual authentication setup for one my web-apps. A user will make a request to the web-app and be prompted by the browser to select a client/personal certificate for authentication. Once selected, the request is sent, but on the server-side when I try and get the Principal from request.getUserPrincipal() to get some certificate properties, its always null. Why is this?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2009
Added on Nov 15 2009
1 comment
249 views