This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes getUserPrincipal returns user id differently Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "getUserPrincipal returns user id differently" Watch "getUserPrincipal returns user id differently" New topic
Author

getUserPrincipal returns user id differently

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
HI… I have an issue with getUserPrincipal.

I fetched username(proliant) using getUserPrincipal to my jsp page using getName().

But after fetching its getting “P” as capital letter i.e, Proliant.
User id should be case sensitive. I am using websphere application server 6.1
Please help me
 
wood burning stoves
 
subject: getUserPrincipal returns user id differently