Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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.
It is sorta covered in the
JavaRanch Style Guide
subject: authentication before accessing resources
Resource Reference problem
Filters - could not understand
Container based authentication
one more confusion over bean things
Doubt in Security contraints
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013