Authorization Samples for Cocoa?
Authorization Samples for Cocoa?
- Subject: Authorization Samples for Cocoa?
- From: Laurent Daudelin <email@hidden>
- Date: Sun, 15 Nov 2009 18:09:47 -0800
Hello.
I need a little helper tool to run under privileges and got it to work with help from the "BLAuthentication" class. However, I'd like to put up a personalized message when the security server requests the user to enter an admin password. The BLAuthentication class uses "AuthorizationExecuteWithPrivileges" which doesn't seem to allow to pass a description like "AuthorizationRightSet" seems to allow. I've searched for some samples but they are all very outdated (from 2005 (AuthForAll) and 2007 (BetterAuthorizationSample)) and are way too complex to understand in like one hour. I can't imagine that all that crap hasn't been encapsulated under some Objective-C classes. Anyone has any idea or pointer to something basic I don't need to take a few hours to figure it out? I'm not interested in a sample with an array of functions that perform an array of things, just a plain, simple example would do.
Thanks in advance.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden