This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single Sign-On

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already got a website that supports JSP/servlet. Now that I found this JForum webapp, I am thinking to incorporate this app to my site.
In my site, I already have a login portion so registered users can log in.
My question is, Is there an existing manual that would guide me to configure JForum in such a way that a user can be automatically authenticated once the logged in user logs in to my site?.

JForum power!
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently, the easier way would be to edit src/net/jforum/JForum.java, method checkCookies() and put your logic there. Probably you'll want to check for some session data and etc. Basically, I know that the user is logged in my setting its session var "logged" to "1". Also, there is an instance of "UserSession', but you can let JForum to handle that. Take a look in the method, it's easy to understand.

*Real* SSO is available in the CVS, however it's a development version so far.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By *real* SSO, do you mean that if I'm logged in at, say, the Spring Framework forum, then pop over here to the JForum forum, I'm still logged in? How would that work, since you don't have my username/password over here at JForum?

Or are you talking about something completely different?

(I know, if I was really wanting to know the answer :roll: I could go check out the code from CVS... but for those who are just browsing, like me, it would be nice to know what you meant there.)

Thanks!
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ooops. I realized after posting that Spring Framework is using a competitor, not JForum! Sorry. But my question still stands, say I was at Martian Software on their forum and came over here...

Martian's forum is where I saw your product and came here, btw.

Finally--I'm not the original Anonymous who started this post, but I am of course the one above.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

first, please register here in the board. "Anonymous" make harder to identify people ;)

Now, SSO is already in the CVS HEAD. The documentation is here:

http://www.jforum.net/confluence/display/sso/Home

Please let me know your thoughs.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anonymous wrote:By *real* SSO, do you mean that if I'm logged in at, say, the Spring Framework forum, then pop over here to the JForum forum, I'm still logged in?


Yes, that's the idea.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where can I find the sso class. I don't have it in my net folder right now.
so I cannot change the SystemGlobals.properties file with this line:
"net.jforum.sso.DefaultLoginAuthenticator" because I haven't the folder sso.

And can anyone tell me where to find the line "authentication.type = default" it is not in mine "SystemGlobals.properties".

Thnx in advance,

Henk
[originally posted on jforum.net by henkie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said before, SSO support is new and only available from the CVS (HEAD branch).

IF you don't want to get the development version, then wait for the next release (without a release date so far)

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Eclipse ;)

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So there is no release dat for SSO. But can You give an estimate time when it becomes available.

Because I have tried many things in JBuilder but JForum doesn't work.

Thnx
[originally posted on jforum.net by henkie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnx,

But I have it working now.

But I have a question about SSO which will be in the next release. Is it possible with this SSO that you can authenticate users within your own web apps. I have created an web apps with my own login, and then I want that the user is autmatically logged in into the forum.

But that can be done with the SSO, I assume?

Thnx,

Henk
[originally posted on jforum.net by henkie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, for sure. Depending the situation you'll have some to some code using the SSO interfaces from JForum, but this is expected to happen, anyway.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as you may read in this topic, the support is already in the CVS. In the next release of JForum I'll include it.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know when the Singel Sign on comes available. I think this is very handy for all the web apps on the internet.

Thnx,

Henk
[originally posted on jforum.net by henkie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for asking but what is the number of the release? And when will SSO officialy be released?
[originally posted on jforum.net by henkie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the HEAD branch.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have looked in the CVS but I can't get it to work. I have downloaded the packaes SSO en DAO. But I get error's and it doesn't seem to work.

I really need the SSO.

Thanks for any reply,

Henk
[originally posted on jforum.net by henkie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which errors? The CVS version compiles and runs fine, as far I as I know.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic