The NativeAuthProvider and associated UserManager is now in SVN and should be fully functional in the next nightly build. I’'m looking for people to help test this new feature out.
From the Javadocs, which describes how to get setup:
Authenticates using the native operating system authentication method. On Windows, this means Win32 authentication; on Unix/Linux, PAM authentication. New user accounts will be created automatically as needed.
Authentication is handled using the Shaj library. In order for this provider to work, the appropriate native library must be loaded. The appropriate native library must be manually moved from the resources/nativeAuth directory to the lib directory.
To enable this provider, set the following in the XML configuration file:
The properties to configure the provider are as follows:
nativeAuth.domain – on Windows, the domain to use for authentication. If the value is not set, the machine’'s default domain will be used or standard OS auth will be used if the machine is not part of a domain. On Unix/Linux, this value specifies the PAM module to use for authentication. If the value is not set, the PAM module “other” will be used.
For more information about configuring the domain value and other aspects of Shaj, please see: http://opensource.cenqua.com/shaj/doc.html.