• 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

disable user authentication !!

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an existing registration process on the site and would want to integrate JForum registration in that process. Is this possible and where can I look to understand how to do this?

version : jforum 2.1.8

From a jsp in my site click on forum link and automatically login the user into the forum. authenticating it against my database

Can any one let me know the approach to be taken to acheive the same!!

anil

[originally posted on jforum.net by anilhk]
 
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
Search for SSO. You can also check monroe's bookmarks within his profile. There should be some nice links for SSO mechanism aswell ...
[originally posted on jforum.net by Sid]
 
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
hey thanks for the reply .. i am a newbie and was just a bit curious wht does SSo stands for and will it be the same for all the versions of jforum

[originally posted on jforum.net by anilhk]
 
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
SSO = single sign on. It means that you for instance sign on within the portal once, and are authenticated against any other app that you can reach from this portal... like a forum... or whatever.

There's different possible approaches how to pass this information. For instance using cookies, or using the mechanisms available by application servers like tomcat ...

It was pretty much the same for the 2.x versions I guess. In upcoming version 3 I assume there will be SSO available again. Not sure if the interfaces will be the very same. But it should be fairly easy to have the SSO mechanism work in about any of the jforum versions if you have one ready
[originally posted on jforum.net by Sid]
 
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 all fo the reply//

I am trying to read the docs for integration and i am stuck at one point "ss.redirect" .

what does this actually mean.

My requirement : If I am in my application and i click on the forum link in my application it should divert me to the Jforum page.

for this to happen what shd be the sso.redirect link in my case

any help will be appreciated
[originally posted on jforum.net by anilhk]
 
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
Hi all,

I think i have got the solution to my querry.

sso.redirect will be used when authenticate user () method returns a null value .. when this happens jforum checks for sso.redirect in the systemglobals.properties file and redirects it to the URL given there.

Correct me if I am wrong .. or right for that matter
thanks !!

[originally posted on jforum.net by anilhk]
 
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
Hi all

I am now stuck with a new doubt, when will jforum make use of sso.password.attribute , sso.email.attribute , sso.default.password and sso.default.email

I mean if anyone could explain me the functionality for these parameters it would be of great help

thanks

anil
[originally posted on jforum.net by anilhk]
 
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
probably when the user is created internally ;)

The SSO mechanism always checks if the user already exists within the db. If the user doesnt exist, it will automatically create a user with the default permission set (registered I think) and save it with default email and password attribute....

But it may be that I got it wrong myself ;)

What I did was to check if the user was created, and if it was his first login ever, I'd redirect the user to the edit-profile page, where he could add his very own email address. There i also did hide the password fields... as the password is irrelevant anyways for jforum when using sso (you can only access it with an external access mechanism, so you already are authenticated).

But: If you pass along the email address / password via cookie / url, you can also easily get the UserDAO within the SSO class, and create the user manually at this point. This also gives you opportunity to set this user to different group(s):-)
[originally posted on jforum.net by Sid]
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic