Perform the following steps to setup an implementation-specific log-on sequence:
- Create a custom authentication provider by implementing the Java Interface, IAuthenticationServiceProvider.
Mention the custom authentication provider to Canvas framework by providing a value for the AUTH_SERV_PROV_CLASS key in the securityconfig.properties file.
Code Block language bash # The following key indicates the default authentication provider that is to # be used during log-in, log-out or re-authentication purposes. AUTH_SERV_PROV_CLASS=com.intellectdesign.app.lic.servlets.login.
...
NGageAuthenticationProvider # Here,
...
NGageAuthenticationProvider.java is the custom authentication provider file.
Create a custom validate class to validate the users' entitlement by implementing the interface, IEntitlementSource.
Mention the custom validate class to Canvas framework by providing a value for the VIEW_ENTITLEMENT_CLASS key in the implclassconfig.properties file.
Code Block language bash # If user group specific view entitlement is required then extend the abstract class # com.intellectdesign.modelhouse.impl.UserGroupViewEntitlement # and configure the sub class for 'VIEW_ENTITLEMENT_CLASS' as # VIEW_ENTITLEMENT_CLASS=com.intellectdesign.app.lic.servlets.entitilements.NGageViewEntitlement