[jcifs] How a servlet to check if the Authentication is successful
when u sing the JCIFS?
Cheng, Anne
Anne.Cheng at moh.gov.on.ca
Fri Oct 28 14:04:15 GMT 2005
Hi All,
Recently I use the following code in a servlet to check if the
Authentication is successful when using the JCIFS.
if (request.getRemoteUser() != null && request.getRemoteUser() != "") {
System.out.println("Approved");
But I feel this is not the correct way, can you show me how to do it? After
the results show the user is successfully authenticated, it will go to the
main page; otherwise it will go to the error page.
If possible, can you tell me where I can find some JCIFS coding samples?
Thanks a lot!
Anne
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs
mailing list