On Dec 7, 2004, at 12:03 PM, Conrad Sauerwald wrote:
Oops - you've found a bug. /etc/authorization only contains
authenticate-session-owner as a rule. I will add that rule in
/etc/authorization by the name authenticate-session-user too.
Thanks. Something still isn't quite right here, though, using the API
to add these...
Shouldn't this work? (using hardcoded values for easier reading here)
This one I do not want to timeout, it will be revoked upon program
termination. That won't add to the database, but I'd also like to
create another right based on/modeled after that one like this:
So this right would timeout after five minutes, and either require that
they have the first right when they try to get this one or would have
to authenticate. Now that I think of it, I'm not sure this would do
quite what I want.... I'd really like to grant this upon program launch
when they must authenticate for the first right, but timeout in five
minutes and then require re-authentication from that point on... I'll
have to rethink that I guess.
In the mean while keep using the constant and modify or duplicate the
rule in /etc/authorization.
This is a 10.3 only application, so hopefully I can do this through
the API calls exclusively and not require editing of the file on the
machines this is installed on.
Thanks!
Steve
_______________________________________________
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