Welcome Guest Search | Active Topics | Log In | Register

Single Signon ?? Options · View
loki
#1 Posted : Thursday, July 31, 2008 3:08:13 PM

Rank: YAF Forumling


Joined: 7/31/2008
Posts: 3
Location: Dublin, Ireland
Hi all,

was wondering could someone explain the way yaf works with regards logging into the system, creating users and if it is possible to use single sign on?

was looking at the piece of code..
Code:

DataRow dr = DB.GetUser( this.ApplicationName, null, username, userIsOnline );


which queries the database. is it possible to have a secondary user name, a forum display name and a login name? where the login name could be mapped to an AD account. how difficult would this be to modify the code or is it possible? also would it be possible to auto create a users profile based on there AD account. so if user entry does not exist it creates a new profile?


N.
CodeJunky2008
#2 Posted : Thursday, July 31, 2008 4:13:40 PM
Rank: Member


Joined: 4/24/2008
Posts: 27
Location: East Sussex UK
Hi

Not sure if what you are trying to achieve is the same as me but I have modified the registration process to use the users AD account and automatically register them in YAF. This was necessary for my project as we drive our employee data from AD and have a number of intergrated systems.

At the moment I have used a subset of AD information for membership and manage members profiles separately in a .net web app (turn off YAF member profiles, use's manage profile info in web app via AD). In the future I will intergrate the membership information in AD via SharePoint 2007 Profiles which I we are implementing as our corporate platform.

If you think it might help I can post some of my code

Neutral
loki
#3 Posted : Thursday, July 31, 2008 4:44:11 PM

Rank: YAF Forumling


Joined: 7/31/2008
Posts: 3
Location: Dublin, Ireland
hi CodeJunky,

thats along the same lines as im thinking. could you post the code please.

Think i will need to add a column to the users table to store either a link id or a display name so i can link back to AD.

which would be easier? adding a display name column which is shown on the forum so users can chose there own name and hiding the current username column from everyone but admin. or adding an id column that is hidden to everyone and just used in a new login method to check if a user exists?

N.
Mek
#4 Posted : Thursday, July 31, 2008 10:14:38 PM

Rank: YAF Developer



Joined: 7/12/2005
Posts: 1,245
Location: on Dock Street
I'm sure someones had some success with using 1.93 and the ActiveDirectoryMemsberhip provider, possibly saving the headache of trying to sync an earlier version with Active Directory. Not done it myself, but neither of you mentioned what version so I thought I'd throw that idea in.


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
skilesare
#5 Posted : Thursday, July 31, 2008 11:09:03 PM
Rank: Member


Joined: 7/30/2008
Posts: 10
I'm not sure if this is the same issue or not, but I'd like for YAF to use my login and my registration page that already exists in my application.

Can I do this? I have custom code that processes a user when they register and I don't want the Yaf code to run.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.084 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET