This sample code covers two custom Oracle Access Manager 11g Authentication Plug-ins:
Plug-in 1: Demonstrates multi-factor authentication uses cases. If either a username or password is not submitted on a login page, this plugin returns a PAUSE status and forwards or redirects back for credential collection. It also shows how error/client plugin responses can be sent to the error/login page.
Plug-in 2: Demonstrates the authentication use case. It also shows examples of how primary error codes and secondary error messages can be sent to the login/error page. In addition, this plugin demonstrates how tokens, query string parameters, headers, etc. can be received from a request.
These authentication plug-ins require Oracle Access Manager 11gR2 (188.8.131.52) to be installed.