WebSphere Application Server - Re: how to determine if user is autheticated (from non-secured resource in web)

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > April 2005 > Re: how to determine if user is autheticated (from non-secured resource in web)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: how to determine if user is autheticated (from non-secured resource in web)

2005-04-19, 8:02 am

Use the method getUserPrincipal() on the request object. If the user is authenticated you will get a Principal Object, which contains the user name, if the user isn't authenticated the method returns null.

http://java.sun.com/j2ee/sdk_1.3/te...etUserPrincipal()
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com