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

RemoteUserSSO

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
First, take a look at this posting:

http://www.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
  • Quote
  • Report post to moderator
Thanks for you reply.

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

http://www.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
  • 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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic