Yeah it does work fine, but no harm in making it a universal binary, it'll run twice as fast for mactels!
Regarding asking for a password, I think there's no problem with that. It'd be nice if it only happens if you're sure you need to run fslogger -self-repair, or it'd be too annoying.
Mac users are pretty used to being asked to enter the admin password, just try to make the popup dialog look as close as possible to the standard authentication osx dialog and you'll be fine!
Does IDEA really need to ask for the password by itself. I'd expect that OSX asks for it as soon as IDEA tries to run fslogger --self-repair via Runtime.exec() or something like that.
Seeing an application trying to mimic the standard authentication dialog would make me rather suspicious.
Although I'm used to being asked for my admin password, I'm always examing in which situation I'm asked for it (update etc.) and which application needs it.
If I'm right and OSX will ask for the password by itself, one thing IDEA could do before executing fslogger is to show a dialog informing the user that it will run fslogger now and that the admin password will be asked for during that process.
Does fslogger really need root access? Finder uses the kevent API without root access. Anyway, I think the best way would be a native application which requests root access in the native way, to show the native dialog.
Robert F. Beeger wrote:
Does IDEA really need to ask for the password by itself. I'd expect that OSX asks for it as soon as IDEA tries to run fslogger --self-repair via Runtime.exec() or something like that.
Seeing an application trying to mimic the standard authentication dialog would make me rather suspicious.
Although I'm used to being asked for my admin password, I'm always examing in which situation I'm asked for it (update etc.) and which application needs it.
If I'm right and OSX will ask for the password by itself, one thing IDEA could do before executing fslogger is to show a dialog informing the user that it will run fslogger now and that the admin password will be asked for during that process.
Mac users are pretty used to being asked to enter the admin password, just try to make the popup dialog look as close as possible to the standard authentication osx dialog and you'll be fine!
Isn't there a java binding layer for the OS X authentication framework? I thought I saw something like that on the java dev mailing list over at Apple.
Mac users are pretty used to being asked to enter the admin password, just try to make the popup dialog look as close as possible to the standard authentication osx dialog and you'll be fine!
Or, if you really want to be classy, use Auth Services to do the evil magic of priv escalation. Users will then have as much (or as little) faith in how you are handling their passwords as in what Apple already does.
Greg Guerin has a java toolkit that wraps Apple's authorization toolkit in a pretty java interface at <http://www.amug.org/~glguerin/sw/>
Scott
-- Scott Ellsworth scott@alodar.nospam.com Java and database consulting for the life sciences
Weird thing. When starting #5181 on my PowerBook I was asked three (or maybe even four times) for my password for fslogger. I began to think that somehow I kept mistyping my password. I checked Caps Lock and Num, but all was as it should be and then finally IDEA started without asking anymore.
Weird thing. When starting #5181 on my PowerBook I was asked three (or maybe even four times) for my password for fslogger. I began to think that somehow I kept mistyping my password. I checked Caps Lock and Num, but all was as it should be and then finally IDEA started without asking anymore.
Hello Hani,
Well, we'll build universal binary for sure but doesn't it runs OK under
Rosetta? It's separate process after all.
BTW what do you think is the best way to provide assistance for fslogger
installing? Would that be OK asking user OS password at first IDE startup?
-
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yeah it does work fine, but no harm in making it a universal binary, it'll run twice as fast for mactels!
Regarding asking for a password, I think there's no problem with that. It'd be nice if it only happens if you're sure you need to run fslogger -self-repair, or it'd be too annoying.
Mac users are pretty used to being asked to enter the admin password, just try to make the popup dialog look as close as possible to the standard authentication osx dialog and you'll be fine!
Does IDEA really need to ask for the password by itself. I'd expect that OSX asks for it as soon as IDEA tries to run fslogger --self-repair via Runtime.exec() or something like that.
Seeing an application trying to mimic the standard authentication dialog would make me rather suspicious.
Although I'm used to being asked for my admin password, I'm always examing in which situation I'm asked for it (update etc.) and which application needs it.
If I'm right and OSX will ask for the password by itself, one thing IDEA could do before executing fslogger is to show a dialog informing the user that it will run fslogger now and that the admin password will be asked for during that process.
Does fslogger really need root access? Finder uses the kevent API
without root access. Anyway, I think the best way would be a native
application which requests root access in the native way, to show the
native dialog.
Robert F. Beeger wrote:
Hani Suleiman <hani@formicary.net> wrote:
Isn't there a java binding layer for the OS X authentication framework?
I thought I saw something like that on the java dev mailing list over at
Apple.
I believe, the link was http://www.amug.org/~glguerin/sw/#authkit
Best,
Dirk Dittert
Hello Dirk,
If I'd read your message an hour before! :(
Thanks for the hint anyway
-
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
In article <5416746.1141864747020.JavaMail.itn@is.intellij.net>,
Hani Suleiman <hani@formicary.net> wrote:
Or, if you really want to be classy, use Auth Services to do the evil
magic of priv escalation. Users will then have as much (or as little)
faith in how you are handling their passwords as in what Apple already
does.
Greg Guerin has a java toolkit that wraps Apple's authorization toolkit
in a pretty java interface at <http://www.amug.org/~glguerin/sw/>
Scott
--
Scott Ellsworth
scott@alodar.nospam.com
Java and database consulting for the life sciences
Weird thing. When starting #5181 on my PowerBook I was asked three (or maybe even four times) for my password for fslogger. I began to think that somehow I kept mistyping my password. I checked Caps Lock and Num, but all was as it should be and then finally IDEA started without asking anymore.
Hello Robert,
that's known problem. Will fix soon
-
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"