File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes RemoteUserSSO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "RemoteUserSSO" Watch "RemoteUserSSO" New topic
Author

RemoteUserSSO

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
Ok, now I understood the thing with REMOTE_USER. It is not needed to answer anymore
[originally posted on jforum.net by mikehell]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RemoteUserSSO