• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RemoteUserSSO

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I'm trying to configure JForum to work with another web application. The problem is that I don't quite get how default RemoteUserSSO should work and could it help me here, or should I just try to create my own SSO class. I have been reading this forum and all the documentation but I still fail to understand the big picture. Someone, please explane me how to associate JForum with another web application.

1) How should RemoteUserSSO be able to access the information from my own web application? Does it rely to combining JForum and the other web application to a single webapp? Or what is the magic here?

2) Or should I create some cookie in my own web application? What is getRemoteUser() trying to do and how?

I hope someone can help me! Thanks!

-Mikko
[originally posted on jforum.net by mikehell]
 
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
First, take a look at this posting:

https://coderanch.com/t/577916 #18306

The RemoteUserSSO implimentation only deals with User Authentication and not the other parts. It does this by simply getting the associated principle from the request object and assuming that this is the authenticated user.

All the User information stuff is just set to the defaults defined in the config file.

FWIW, take a look at my bookmarks for various other integration threads.
[originally posted on jforum.net by monroe]
 
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
Thanks for you reply.

monroe wrote:First, take a look at this posting:

https://coderanch.com/t/577916 #18306



I understand the things that were behind the link you posted, but I still can't see the point of RemoteUserSSO?


The RemoteUserSSO implimentation only deals with User Authentication and not the other parts. It does this by simply getting the associated principle from the request object and assuming that this is the authenticated user.



What does this mean "associated principle from the request object"? How does this principle get to the request object? How is it supposed to contain remote user's information?

And still, does this whole thing have anything to do with combining the two webapps into one or with setting some cookies in my own app?

Thanks.
[originally posted on jforum.net by mikehell]
 
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
Ok, now I understood the thing with REMOTE_USER. It is not needed to answer anymore
[originally posted on jforum.net by mikehell]
 
reply
    Bookmark Topic Watch Topic
  • New Topic