File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
authentication before accessing resources
Joined: Jan 08, 2013
Aug 24, 2013 08:40:17
web how to make login of user compulsory before accessing specific pages / resources
Joined: Aug 27, 2012
Aug 25, 2013 07:47:34
A very simple approach would be to place a flag of some sort in his session when a user logs on. One could then write a filter which checks for the flag and forwards the request to the desired page only if present and an error page if not.
I agree. Here's the link:
subject: authentication before accessing resources
Resource Reference problem
Filters - could not understand
one more confusion over bean things
Container based authentication
Doubt in Security contraints
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015