• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Uploading the Avatar using 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
I need to upload the user Avatar for the posts but with SSO i am totaly confused

Basically user can upload Avatar by editing through his profile link in jforum but while using SSO is it Possible

if Possible Then How to Implement

please help me this might help for others also who r all implementing SSO

Thanks in Advance
[originally posted on jforum.net by rb68626]
 
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
I think what you are asking is how to remove the "change your password" section of the update user profile page...

If so, the easy way to do this is to edit the user_form.htm template and just comment out the sections you don't want users to see.
[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
The same way you do without SSO... the user clicks on my profile and do it via the Avatar Control panel at the bottom.


[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 reply but reply is completed irrelevent my question is

How user(with out admin access) will upload his image when sso is implemented and how to display the user image with the post
[originally posted on jforum.net by rb68626]
 
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
Yes offcouse by using profile link .But in my application we had removed the profile link because the user details are retrieved from other server by means of SSO so there is no possibility of uploading user avatar through profile link.
[originally posted on jforum.net by rb68626]
 
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
That's what I meant in my first post. You can edit the profile form template to omit items coming via SSO (or display them R/O with a link to where they can be changed).

This would allow jforum specific things (like uploading an avatar) to be done via the jForum profile and SSO things done via the "SSO Application" (like changing password, names, and the like).
[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
OK, I think what you're saying is that each user already has a *single* Avatar image associated with them on the SSO information source.

The solution is to treat this as an external avatar and set it when you create the jForum user.

Most of the SSO examples make use of the SOUtils.register method to create the jForum user object. However, this only takes the name and e-mail address of the user. In your SSO implementation, you can basically duplicate this code and set any user information, like an external Avatar URL.

FWIW, if you're doing something like this and setting more user info, it's also a good ideal to add in the code to verify that the jForum user info matches the SSO info when authenticated. This allows for changes made in the SSO source to be visible in jForum.
[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
I am very sorry to trouble you .I think u din't get my question.

First Thing is image will be in SSO Server ,So while showing post/reply how to relate the user Image and his post/reply (There will be multiple reply with different user )so differnet image has to show with appropriate reply.

How i can relate the image and post/reply which is coming from two different application

Will it be possibe.Else should i want to store the user image in jforum table itself?


[originally posted on jforum.net by rb68626]
 
reply
    Bookmark Topic Watch Topic
  • New Topic