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]
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]
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]
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".
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.