Testing authentication using the sample applications

The sample applications are located in the /usr/share/centrifydc/apache/samples directory. These samples allow you to test the behavior when an application and the browser are configured with BASIC, NTLM, or Kerberos authentication enabled. The samples verify that a user with an Active Directory account can log on so they are a good test of your configuration.

If you are unsure if your browser supports BASIC, NTLM or Kerberos authentication, see Configuring silent authentication to see the requirements.

By default, the sample directives in centrify.conf allow any user authenticated for Active Directory to log on.

By default, the sample directives in centrify.conf allow any user authenticated for Active Directory to log on.

To test authentication using the sample applications:

  1. Open a web browser and go to the following URL:

    http://server/samples
  2. Click each authentication option - basic, ntlm and kerberos - and then click Authenticate to test the behavior and verify that your test user is authenticated properly.

    For example, if you select the sample that uses BASIC authentication, you are prompted to provide a user name and password.

    If authentication is successful, the web page displayed indicates the authenticated user’s identity and other details about the user and web environment.

To run the sample applications in an environment with Active Directory Federation Services, see the Active Directory Federation Services Configuration Guide.