|Purpose:||To demonstrator how to write and deploy a custom authentication module in Open SSO 8.0|
|Notes:|| This login module determines the username by extracting it from the Servlet Request
userName parameter. This module does not require a password.
The original purpose of this example was to create an authentication module that would extract a header variable passed in by the network router. The user was validated by the router and an attributed placed in the request header. Since this user cleared the router the user is considered valid and the module authenticates the user to OpenSSO.
Since it is more difficult to demonstrate a header variable being passing in, I changed the module to use a parameter instead.
The url to log in would look like:
|getP.java||-||java code that defines the authentication module|
|getPPrincipal.java||-||java code that defines the Principal object needed|
|getPService.xml||-||This file defines the service that has to be added to OpenSSO for the new module|
|getP.xml||-||an empty file that the login module uses to NOT do call backs|
|install.sh||-||shell script to compile and deploy the module|
|remove.sh||-||shell script to remove the module|
|setup.sh||-||shell script to set the necessary variables for the other scripts to run. This one needs to be modified before executing install.sh or remove.sh|
|Makefile||-||Make file to compile the code|