• 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
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

SSO redirect

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to integrate the forum with our SSO solution and am having difficulty with the SSO implemenation. I am able to process the cookie returned by our solution within my SSO implementation class without any problem. The problem I have is that it appears as if the isSessionValid method is invoked on every request. I only want to force them to my SSO solution when preforming a function requiring authentication. I would like to have anonymous users see the forums without going through our authentication. I am also trying to use the sso.redirect configurations but with little luck.

What is the best way to implement cookie based SSO that does a redirect to our SSO login/authentication page when doing ONLY registration required functions?
[originally posted on jforum.net by cs1559]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On the redirect problem I am having, in my SystemGlobals.properties, I have the following:

sso.redirect = https://hostname/pagLogin/

and then try to post a reply on the forum, I receive a 404 error that looks like:

/forumhttps://hostname/pageLogin//forum/posts/reply/0/6.page

I maybe missing some configuration information in the documentation, but any help is appreciated.


[originally posted on jforum.net by cs1559]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is kind of odd, as we had requests to ensure that isSessionValid() is called on every request.

For now, if you can hack into the code and make it work, it would be the fatest solution, at least for you.

Of course that we appriciate considerations and suggestions.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I don't always make ads but when I do they're tiny
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic