Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Cookie-based SSO and email from jforum

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to use the simplest SSO available (since I don't really know what I'm doing). I'm thinking that cookie based SSO would be the answer. But, it looks like it only gets the authenticated username, and then considers the user logged in.

If that's the case, then how can JForum email a user when there are replies to his posts, etc. ??

Has anyone used the cookie-based SSO, but also carried email address from the "other" app to JForum? We won't have an issue with email address changing, because on the "other" app, the email address IS the user account.

We will actually have to collect screen name info to pass to JForum, because we don't have any such thing.

The plan is as follows:
- a user registers for our site (email address and password)
- a user logs into our site (using email address and password)
- the user attempts to access the forum. The first time this happens, he will be asked for a screen name and to agree to the terms of usage. We'll store the screen name in the database with his other user info, and put it in a cookie each time he logs in
- once logged in, and with screen name and approved terms of usage, the user will be let into the forum, with all other functionality intact, including being notified of replies to posts, etc.

Has anyone done this?

1) I'd like to find out that it's relatively easily possible, before attempting it, and
2) If someone else has done it, and would like to share some pointers with a newbie, it would be much, much, MUCH appreciated.

I'm an Oracle Geek, so I'd gladly trade Oracle/SQL knowledge for some Java/SSO experience and knowledge.

Thanks,
Jennifer
[originally posted on jforum.net by jenamon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the SSO working. See:

https://coderanch.com/t/577176

In order to get the email set properly, I had to do it behind the scenes. I have not yet tested to see if the various email functions work. The link to click to email a user worked, but I still have to see if I can get email about watched threads, etc.

I haven't seen that work yet even before I had the SSO in place. Can anyone verify that those other email-related pieces actually work? If so, then it's likely an issue with some of my config settings.

Thanks,
Jennifer
[originally posted on jforum.net by jenamon]
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!