• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Making a user to pass through an entry point page

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi members
i want any user to pass through a entry point page before he could access a page beyond that, the login credentials will be done before this.

suppose if there is page which the user can only access after making a login, if has bookmarked that page, i don't want him directly to take to that page he has to first go through this entry point page and then only he should be able to access that page, once he is done with this page he can access any page after that.

which means if he request to a page which is beyond the entry point and if i find him didn't even entered the entry point page at least once then i have to redirect him to the entry point page.

i want to make it using spring, i came across HandlerIntercepter and HandlerAdapter but i am bit confused to start over.

can anyone please help me in this regard.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should read about spring security.
You will end up with some xml configuration files added and you don't have to mess with classes. Your problem is very common so don't try to reinvent the wheel.
http://static.springsource.org/spring-security/site/start-here.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic