| Author |
SSO: How to secure toplevel Page?!
|
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
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
Joined: Apr 22, 2012
Posts: 17424
|
|
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
Joined: Apr 22, 2012
Posts: 17424
|
|
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]
|
 |
 |
|
|
subject: SSO: How to secure toplevel Page?!
|
|
|