Shaj is very old library originally created by the company Cenqua, later acquired by Atlassian. This repository is copied from the Atlassian’s SVN. I don’t recommend to use it as it’s not maintained anymore, but some projects as OpenFire is still using it (and that’s the reason of this repo).
Shaj (System/Host Authentication or Java) is a simple library that allows you to verify usernames/passwords with the underlying operating system. Shaj also allows you to check group membership.
Shaj currently supports Windows and PAM (on Linux, Mac OS-X and Solaris). Shaj should work on Java 1.2+ JVM's.
Shaj is Copyright Atlassian Pty Ltd, and is licensed under the Apache 2.0 license (see LICENSE.TXT in this distribution).
The API documentation can be found in the doc directory of the distribution.