Introduction to Shaj
Shaj allows you to verify username/passwords with the underlying operating system. It does this using a platform-specific JNI library.
Using Shaj
Using the Shaj API is described in the Shaj class.
Shaj requires access to a JNI library at runtime. Pre-compiled libraries for common platforms
are included in the distribution. You must ensure that the JVM can find the correct library for your
platform; for example, by setting -Djava.library.path=/path/to/lib.
Windows users: The exact semantics of password verification and group-membership checks are described here.
Unix (PAM) users: On Unix-like systems, Shaj uses PAM to perform password verification. You may need to configure PAM correctly in your system before Shaj will work correctly. This is discussed here.
Getting Help
If you need any help with Shaj, visit the forums.
Overview