• 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

Allow Anonymous Posting w/ SSO

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We currently have jforum v2.1.7 set up so that the authentication information is pulled from LDAP, but we would also like to give users the ability to post anonymously if they would like to. Any ideas on how this can be done?
[originally posted on jforum.net by clc1023]
 
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
Just allow the group the Anonymous user belongs to post messages. Go to Admin Panel -> Groups -> Permissions -> Allow Anonymous posts

The "Anonymous" user, by default, belongs to the "General" group.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
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 for the reply. I changed the settings you mentioned, however, I'm still seeing my username show up as the poster so maybe I'm missing something. Essentially, we are forcing the users to login with their Active Directory username/password before they can even get to the forum page, then when they are within the forum we'd like to give them the option to post as themself or to post anonymously. Since they are already logged in as themselves, it would be nice if there was a way for them to check a box when they are making a post to specify whether they would like their post to be anonymous. Should the fix mentioned allow us to do this? Currently, the only workaround we've thought of is to create a general account in Active Directory that the users have to login as to be able to post anonymously under that general account. We would prefer to allow them to be able to post anonymously even though they are logged in with their AD info.

Thanks again for your help!
[originally posted on jforum.net by clc1023]
 
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
Ah. Well, if you want to post anonymously, you should not be logged in the forum. Or, of course, you can use your own suggestion and provide a "dummy" account that everyone can use.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
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
If you want to have a check box on the posting form to allow for anonymous posting, you will have to modify the code. I think you can just modify the PostCommon.fillPostFromRequest method to check for this and use the anonymous user id instead of the logged in user. You should walk thru the whole PostAction.insertSave() logic to make sure.
[originally posted on jforum.net by monroe]
 
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 for the suggestions - it was easiest for us to create a "dummy" AD account for anonymous users so that's the route we took...
[originally posted on jforum.net by clc1023]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic