Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

After an LDAP login, how do you get past this...Welcome page, login, welcome, login??  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The welcome page is successful. The login is successful. etc...

More to the point. How would I check in the JSP (at the Welcome page) if the user had logged in?

Or would you check it that way?

I've been struggling with this.

The environment contains WSAD 5.1.2, jsp, struts.

Thanks,
Alex
 
Alex Kovalchuk
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me make a small correction. I am using LDAP security.
 
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%if(request.getRemoteUser() != null){%>
do stuff here
<%}%>
 
Alex Kovalchuk
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow... thanks.

I tweaked it a little.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!