Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSO: How to secure toplevel Page?!

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After struggling with understanding the API of the SSO-Class for a while, I finally managed to enable the Authentication via a Cookie set by another webapp underneath the same domain.

Now I want to secure the toplevel-Page of the forum: Is there a way to trigger the redirect to the login-page, whenever someone hits the default page of the Forum ( entering http://myurl/jforum without a set cookie shall redirect to my custom login-page).

Anybody knows how this can be done?!

Cheers
Stefan


[originally posted on jforum.net by mugwump]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's probably a fancier way to do this but this came to mind first.... Add the following code in the <head> section of the header.htm template file:

<br /> <br /> But in the back of my mind, I seem to remember a better way to do this... sigh. <br /> [originally posted on jforum.net by monroe]">
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is fine, thx! I'll use this hack and if a more elegant solution comes to your mind, don't hesitate to post it
[originally posted on jforum.net by mugwump]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic