FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » SSO with TYPO3
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
SSO with TYPO3 [message #166236] Sun, 16 October 2011 11:57 Go to previous message
kaystrobach is currently offline  kaystrobach   
Messages: 28
Registered: May 2006
Location: Bannewitz
Karma:
Junior Member

Hello guys,

currently i'm working on a SSO Adapter for fudforum from TYPO3 based on http://single-signon.com during the development i found some problems for implementing SSO Adapters:

first cool things:
- external_* functions are great

there some functions missing:
- it would be nice to have a additional function, called external_sync_groups(int $userId, array $groupnames), which automatically checks if a user is in the given groups an add or remove the membership
- also it would be nice to have a function like the following one to get the id for a given username without knowing a password

function external_getUserByUsername($login) {
	__fud_login_common(1);
	$r = db_sab('SELECT id FROM '. $GLOBALS['DBHOST_TBL_PREFIX'] .'users WHERE login='. _esc($login));
	if($r) {
		return $r->id;
}
}


Thanks so far.

The code of the sso adapter can be obtained via PM, i will add it to single-singon.com when it's stable with group sync.

Regards
Kay
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RSS 2 Topic
Next Topic: list all smilies on the same page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 22:42:05 GMT 2024

Total time taken to generate the page: 0.05020 seconds