Custom authentication provider sample programs
The following subdirectories are available in the install_location/sdk/java/AuthenticationProvider directory.
- adapters
- Contains sample implementation of the classes that you need to implement when writing a custom provider.
- javadoc
- Contains the generated API documentation in HTML.
- JDBCSample
- Contains a sample implementation of a custom authentication provider.
This directory also contains a version of this sample called RestorableJDBCSample that can handle restoring a session after Content Manager failover and demonstrates the changes necessary to implement failover in your custom provider.
This sample works with IBM® DB2® and Microsoft SQL Server database applications.
- lib
- Contains the jar file for writing a custom provider (CAM_AAA_CustomIF.jar).
- MultiTenancyTenantProviderSample
- Contains a sample implementation of a multitenancy sign-on provider.
- src
- Contains the source code for the API. This may be useful because it provides context-sensitive help in many Java™ development environments, such as the Eclipse IDE.
- TrustedsignonMappingSample
- Contains a sample implementation of a mapping sign-on provider.
- TrustedsignonReplaceSample
- Contains a sample implementation of a trusted sign-on provider.
This sample expects a REMOTE_USER cookie and requests a cookie if one does not exist.
- TrustedsignonSample
- Contains a sample implementation of a trusted sign-on provider.
This sample expects a TRUSTED_sign-on_USER cookie and fails if one does not exist.