Password entry dialog

2008-05-15 Thread Ron Aldrich
Hello Folks, I'm trying to figure out where the API for the system's password entry dialog is defined. In particular, I'm interested in using the dialog which is used by Disk Utility (i.e. diskimages-helper) to enter passwords. Is there a public API for password entry dialogs? Or should

Re: Password entry dialog

2008-05-15 Thread Michael Vannorsdel
Look at the Security framework and functions like AuthorizationExecuteWithPrivileges. On May 14, 2008, at 6:12 PM, Ron Aldrich wrote: Hello Folks, I'm trying to figure out where the API for the system's password entry dialog is defined. In particular, I'm interested in using the dialog

Re: Password entry dialog

2008-05-15 Thread glenn andreas
On May 14, 2008, at 7:12 PM, Ron Aldrich wrote: Hello Folks, I'm trying to figure out where the API for the system's password entry dialog is defined. In particular, I'm interested in using the dialog which is used by Disk Utility (i.e. diskimages-helper) to enter passwords

Re: Password entry dialog

2008-05-15 Thread Jean-Daniel Dupas
authorizaton. The cocoa way to do this is to use the SFAuthorization class from SecurityFoundation framework. What do you want to do exactly with this dialog ? Le 15 mai 08 à 02:12, Ron Aldrich a écrit : Hello Folks, I'm trying to figure out where the API for the system's password entry

Re: Password entry dialog

2008-05-15 Thread Jack Repenning
On May 14, 2008, at 5:12 PM, Ron Aldrich wrote: Is there a public API for password entry dialogs? Or should I just roll my own? Perhaps NSSecureTextField would be what you want. -==- Jack Repenning [EMAIL PROTECTED] Project Owner SCPlugin http://scplugin.tigris.org Subversion for the

Re: Password entry dialog

2008-05-15 Thread Ron Aldrich
it to be a private API. That same discussion also seems to indicate that the password entry dialog used in diskimages-helper is also private. So, unless I'm missing something, it looks like I'm going to be rolling my own dialog. Thanks for your time, Ron Aldrich Software Architects, Inc

Re: Password entry dialog

2008-05-15 Thread Jean-Daniel Dupas
it would indicate to me that Apple considers it to be a private API. That same discussion also seems to indicate that the password entry dialog used in diskimages-helper is also private. So, unless I'm missing something, it looks like I'm going to be rolling my own dialog. Thanks for your