JAAS Custom Login Module Example
The following sections explain the make up of a sample JAAS custom login module with key portions of the code annotated and explained. The login module is purposely simplified, as it is designed for explanatory purposes. It is hard coded to authenticate a particular user.