Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Perform the following steps to setup an implementation-specific log-on sequence:

  1. Create a custom authentication provider by implementing the Java Interface, IAuthenticationServiceProvider.
  2. 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
    languagebash
    # 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.

...

  1. NGageAuthenticationProvider
    
    # Here, 

...

  1. NGageAuthenticationProvider.java is the custom authentication provider file.


  2. Create a custom validate class to validate the users' entitlement by implementing the interface, IEntitlementSource.

  3. 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
    languagebash
    # 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