Re: Application rights.
Re: Application rights.
- Subject: Re: Application rights.
- From: Jerry Krinock <email@hidden>
- Date: Thu, 22 May 2008 11:16:13 -0700
On 2008 May, 22, at 9:46, Sherm Pendley wrote:
On Thu, May 22, 2008 at 12:08 PM, Joseph Kelly <email@hidden> wrote:
Also a question: does anyone know of a Cocoa/obj-C wrapper around
auth-framework? It might be a useful sort of project/tool ;-)
I don't know what is meant by "auth-framework", but...
Apple provides an Objective-C interface. It lacks an
AuthorizationExecuteWithPrivileges() method, but I think that Apple
omitted
that deliberately.
Yes, I believe the idea is that you need to make a tool as in
BetterAuthorizationSample to do that. I did make what I consider to
be a "more Cocoa" version of the demo in BetterAuthorizationSample
last month. The project includes a Cocoa framework which you can use
in your app to access your tool, which is I believe about as close as
you can come to having a "Cocoa/obj-C wrapper".
No known bugs. Needs more testing, but since I guess nothing is never
done, what the hell, here you go...
http://www.sheepsystems.com/sourceCode/authTasksCocoa.html
Note: The HeaderDoc documentation in there covers only the framework.
_______________________________________________
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