On Mar 18, 2006, at 7:31 AM, Dmitry Markman wrote:
Hi
as I discovered, that
UnixLoginModule uses information related to current user
and it can not be used for admin authentication, is it correct?
is it true that there is no pure Java way to run admin access
required application?
so I have to create jnilib (that will use Security.framework) for
dealing with that
(I'd like to create small rxtx installer for mac os x, so user will
be able to use it from the webstart)
maybe somebody knows about open-source solutions?
You could I believe write your own login module maybe using your or
other jni code. I believe it was indicated as possible in "Java
Security" - Oaks, O'Reilly
although I'm not sure an example of doing this was provided. I could
check or you could probably track down the example code.
I tried UnixLoginModule for my code and when I realized the current
user always authenticated was considering changing to more a SSH type
scheme. Which was passphrase/key exchange based as I recall. I didn't
complete this and haven't looked at it for sometime. Mostly because
I'm not able to cross-machine test again. SSH somewhat similar to
part of the functionality of my application, java based command line
shell.
_______________________________________________
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