Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getRemoteUser disappears  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some pretty simple JSPs and EJBs. I use LDAP as a container managed authenticator. It's worked fine until recently.
I'm certain nothing significant has changed on the Appserver side. Of course, I would not bet my child on it. Nevertheless, what happens suggests its still partially working.
The login pop-up still works and prevents unauthorized logins. And (this is the bugger) in the first jsp invoked (an index.jsp from a welcome config) successfully acquires the uid from getRemoteUser(). EVERY SUBSEQUENT CALL TO GETREMOTEUSER() RETURNS NULL!
I can invoke any other app object on startup except the index.jsp and the security is bypassed. I've attached the relevant portion of my web.xml below.
Any ideas would be vastly appreciated. Thank, joe

<web-resource-name>Access Control</web-resource-name>
<description>All Users</description>
<description>Restrict Access to authenticated users</description>
I am using the following platform/tech:
-Websphere 5.0 appserver on Win2k
-Domino 5.0.11 LDAP server and directory (i.e., Notes)
WS Global Security Configuration:
Active Authentication Mechanism: SWAM
WS LDAP User Registry Configuration:
"Custom" LDAP user registry configuration, as the Domino one never seemed to work
User Filter (&(uid=%v)(objectclass=dominoPerson))
Group Filter (&(cn=%v)(objectclass=dominoGroup))
User ID Map dominoPerson:shortname
Group ID Map *:cn
Group Member ID Map dominoGroup:member
Certificate Map Mode EXACT_DN
Certificate Filter none
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!