This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes After an LDAP login, how do you get past this...Welcome page, login, welcome, login?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "After an LDAP login, how do you get past this...Welcome page, login, welcome, login??" Watch "After an LDAP login, how do you get past this...Welcome page, login, welcome, login??" New topic
Author

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

Alex Kovalchuk
Greenhorn

Joined: Oct 20, 2004
Posts: 13
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

Joined: Oct 20, 2004
Posts: 13
Let me make a small correction. I am using LDAP security.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

<%if(request.getRemoteUser() != null){%>
do stuff here
<%}%>


A good workman is known by his tools.
Alex Kovalchuk
Greenhorn

Joined: Oct 20, 2004
Posts: 13
Wow... thanks.

I tweaked it a little.
 
GeeCON Prague 2014
 
subject: After an LDAP login, how do you get past this...Welcome page, login, welcome, login??