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

SSO authentification

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Bonjour !

I'm tryin to implement SSO identification for my app with jforum.
I tried with cookieUserSSO, and after some modifications it works fine.. but (there is always a but) it sucks a bit regarding security.
That's why i'm trying with the other solution : remoteuserSSO. But after reading again and again the several posts about this, I begin to have real strong genocide pulsions against my computer so.. before doing something irreversible i'm begging for your help.

Can you tell me where the getRemoteUser() is implemented ?
How can jforum can be aware about myapp users without cookies ?

Thank you for your help

(Sorry for my poor english)
[originally posted on by tontongawel]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
you write about and indeed I see this class mentioned in the documentation.
But I can't find it in the source tree (and not even in the packaged WAR)!
Could someone please clarify?
[originally posted on by Gregorio]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
For CookieSSO you have to create your own one.
The code I used :

[originally posted on by tontongawel]
It is sorta covered in the JavaRanch Style Guide.
subject: SSO authentification
Similar Threads
Help about SSO
JForum inside Another Tomcat Webapp/Context
Urgent help required - Can't get any SSO setups working :o(
SSO with JForum 2.1.7, Help!
Login from custom page