river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Reedy <dennis.re...@gmail.com>
Subject Re: PAM - Pluggable Authentication Modules Any Ideas?
Date Thu, 13 May 2010 16:20:54 GMT

On May 13, 2010, at 1123AM, Gregg Wonderly wrote:

> If you use System.load(), then you can use a static initialization block to copy the
jni bits from the jar into a temp directory and then load it from that path.  Associated permissions
need to be granted of course.

Sure, you can copy the native lib to a temp directory, and assuming you have set the JVM up
to load native libs from that directory that would work, but you still need to address the
class loader issue right? 

I think that you'd rather want to have the native libraries required for authentication part
of your 'platform'. 

View raw message