Mailing Lists: Apple Mailing Lists

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

Mac OS X RXTX java installer



Hi all

I put RXTX installer that will install everything (and will create / var/lock if necessary and add
user to the uucp group) for mac os x from Java
into the rxtx's CVS repository
it could be easily modified to install files for any platform



it uses Greg Guerin's AuthKit for authentication and authorization
Greg released that kit under artistic license, so Trent, please take a look
we, probably, can negotiate license with Greg if it's necessary


Greg's AuthKit could be downloaded from http://www.amug.org/~glguerin/ sw/#authkit

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)
possible explanation could be found in conversation between Greg and Michael at Apple's java-dev list
(look for archives)
so I didn't use jaas API for rxtxinstaller



I created folder MacOSX in the contrib folder

comment
1. if you want to run that installer as standalone application all you need that
RXTXInstaller.jar
2. if you want to use webstart you have to add Greg's libAuthKit.jnilib to the mac os x's resources
in theory RXTXInstaller.jar doesn't need it, but there is a problem with loading libAuthKit.jnilib from webstart


authkit uses loadLibrary method to load library and it failed (from webstart)
for standalone application I extract libAuthKit.jnilib from the RXTXInstaller.jar and put it
into the /Library/Java/Extensions or ~/Library/Java/Extensions folder
that file will be deleted after installer quit



unfortunately I didn't have time to put documentation there but it is mostly self-explanatory

I took installer code from my gl4java installer that I did about 3 years ago
(with small modifications)



it would be very nice if Apple will release LoginModule that really will do the job (com.apple.security.auth.module package????? )
(UnixLoginModule is pretty useless)








_______________________________________________
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


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.