In this section:
This section describes sample JSPs that show how to use the ReportCaster authentication functionality in the API. For the Java API, there are three out of the box implementations of the Credential interface: PasswordCredential, SecurityTokenCredential, and WebAuthenticateCredential.
This sample shows how the WebAuthenticateCredential class and the PasswordCredential class can be used together for Single Sign On (SSO) purposes. It tests to see if a remote user exists on the web server. If it does not, it prompts for a user name and password. Upon authentication, PasswordCredential will generate a cookie, which will allow the second page to function.
This page shows authentication through cookies using the SecurityTokenCredential class.