Re: Authenticating without UI
Re: Authenticating without UI
- Subject: Re: Authenticating without UI
- From: Gwynne <email@hidden>
- Date: Thu, 17 Jun 2004 10:32:06 -0400
On Jun 17, 2004, at 9:50 AM, Tito Ciuro wrote:
Hello,
Is it possible to collect the user name/password from a custom-made
window, can I feed the info to Authorization Services without
displaying the standard Apple dialog?
Thanks,
The headers suggest you can do this by creating the AuthorizationRef
with an environment containing kAuthorizationEnvironmentUsername and
kAuthorizationEnvironmentPassword. I can't say for certain whether this
would work, and it's certainly Panther-only if it does. Why would you
want to do this anyway? One of the points of the Apple-standard dialog
is that users at least know they're entering information into a secure
program instead of some password sniffer.
-- Gwynne, key to the Code that runs us all
Formerly known as Sailor Quasar.
Email: email@hidden
Web:
http://musicimage.plasticchicken.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.