Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X RXTX java installer




On Mar 20, 2006, at 1:20 AM, Dmitry Markman wrote:

Michael Hall (mikehall at spacestar dot net) had a suggestion to make implementation of the jaas LoginModule
based on Greg's AuthKit
(his modification of the Greg's AuthKit could be found at http:// www.spacestar.net/users/mikehall/authkit.dmg)
but Michael's AuthKitLoginModule does only half a job:
it does authenticate
but it can not run any external unix process in privileged mode (at least I wasn't able to do so)

If you got it working directly with Greg's the point is moot.

But to clarify it anyhow.
The login module does not allow you to do anything anything privileged on return as was explained by Greg. You need to work with a separate privileged process using the execPrivileged method of his API. I assume you did something similar although I haven't looked at how you are using it yet.
I allowed instead for a action to be performed at the same time you login/authenticate,this...
System.setProperty("authkit.action","/usr/bin/id");
just before this...
lc.login();
To clarify, safely ignored as you are already complete.


Mike Hall        mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Mac OS X RXTX java installer (From: Dmitry Markman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.