*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: After an LDAP login, how do you get past this...Welcome page, login, welcome, login??
 
Similar Threads
Business Logic in JSF
LDAP authentication + filter + redirect = mess
redirection on login
interceptors
Want to create a single user admin login page