This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes UserName case sensitive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "UserName case sensitive" Watch "UserName case sensitive" New topic
Author

UserName case sensitive

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
Hi,


I am using websphere 6.1. We have enabled administrative security and selected local operationg system for user account repository.
Now websphere is protected with credentials. After login with valid credentials(user name proliant), on top it showing "Welcome Proliant".

Please let me know if anythig like to make username case sensitive.

Thanks in advance.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

My guess is that the programmers expected the user ID to be a name, and so they have capitalized it, as you would normally do for a name. But is this a serious problem? As in, it's preventing you from getting something done?
naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
yes Paul.....

we are using credentials of websphere for my application to login. So we have created the one user with same credentials at backend. It is case sensitive.
Proliant is differ from proliant.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

But your original post suggested you logged in successfully. I don't see a significant problem. In fact I don't see any problem at all.
naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
Hi Paul,

Thank you for your reply.

But here I will describe about my application below clearly.

My application is recently integrating with SSO. SSO (LTPA) part is taking care by another team. As my client has many applications, he is going to integrate all applications under SSO. One of them is my application. Only authorized persons can enter into my application.

Here from our side we have done all changes and application is working fine except the above issue.
For testing getUserPrincipal() method in my local system, in websphere 6.1 I have enabled Administrative security and selected Local operating system user account repository. Now we have to provide credentials in order to enter into websphere console and also my application.

After login into websphere with credentials(user name as proliant ), on top its showing welcome Proliant i.e, p as capitcal letter.

When I ran my application, in logs it showing user name as Proliant. The application will check at the backend for user ID "proliant" and logins as per user ID otherwise it gives error page. Here as user ID is case sensitive and user ID i am getting is "Proliant" through getUserPrinicpal.getName() method, it redirecting to error page.


Note: Websphere is installed by portal team. we dont have any admin role on it.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

naga eswar wrote:But here I will describe about my application below clearly.


Yes, that would be a good idea. It would have been a good idea two days ago as well. But now that I can see your problem, I have no answer for it, sorry.
naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
ok paul....

thanks for your time...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UserName case sensitive
 
Similar Threads
getUserPrincipal returns user id differently
WA #1.....word association
header names are case sensitive or not
Case sensitive login name?
getUserPrincipal returns user ID differently