This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Alex Kovalchuk
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.
 
Marc Peabody
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!