• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Verify that user has accepted consent message before allowing user to enter page

 
Bob Talbert
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what I am trying to implement:

When the user logs into the page, they are redirected to a consent page with a message. The user must accept the consent message (not authentication) before getting access to the page in the domain. The user will have to consent whenever their session expires.

What would be a good way to implement this? This is a java web application running on Tomcat 7.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65119
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds simple enough. Add a filter that checks for a "consent" token in the session. If it's not there, redirect to the "consent" page. Once they "consent" place the token in the session.
 
Bob Talbert
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Sounds simple enough. Add a filter that checks for a "consent" token in the session. If it's not there, redirect to the "consent" page. Once they "consent" place the token in the session.


Thanks, a filter was just what I needed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic