Hello list,
I just wrote up a small pref pane to start/stop Tomcat. It's no big deal and
just for personal use. However, since the triggered start skript for Tomcat
needs to get admin's permissions, I need to use some of the stuff from the
Security Framework. I basicly grabbed a lot of stuff from other projects to
put it together and it works as expected...
However, to get a consistent view of my pane, yesterday I decided to use the
SFAuthorizationView to control gaining root access... And now I'm in trouble
because I need to know more about the lifecycle of a pref pane as well as
about the security concept. Currently my pane is doing something weird,
after starting up and requesting an 'unlock' it is requesting the
authorization twice(!). Note that I'm able to cancle the second auth
request, without losing the authorization done by the first time!
Meanwile I found the announcement of a sample pref pane using
SFAuthorizationView from an Apple fellow (the announcement is from March
2004) but there is still no sample code available.
Question: Anybody out there with a pref pane using SFAuthorizationView to
learn from?
Sorry for my bad english,
Martin
--
/**
* Your mouse has moved!
* Windows needs to be restarted for changes to take effect!
*/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden
This email sent to email@hidden