Enabling Trusted Authentication

Before embedding Arcadia Services within client pages, you must first enable Trusted Authentication on the Arcadia Server.

To enable Trusted Authentication, modify the local configuration file and restart the server.

Depending on your installation, configure these settings as follows:

Example of Trusted Authentication Configuration Settings

Here is a sample of trusted authentication configuration settings for adding to the local configuration file.

INSTALLED_APPS = INSTALLED_APPS + ('trustedauth',)
      
      AUTHENTICATION_BACKENDS = (
      'django.contrib.auth.backends.ModelBackend',
      'trustedauth.backends.TrustedAuthBackend'
      )
      
      TRUSTED_AUTH = {
      'trusted_ips': ['127.0.0.1'],
      'trusted_users': ['tadmin'],
      'timeout': 120,
      'single_use': True,
      'session_expiry': 0,
      'allow_superuser': True
      }
trusted_ips
A list of trusted IPs. Ticket requests from these IP addresses are validated. You can either specify a list of trusted_ips or a list of trusted_users, or both.
trusted_users
A list of trusted ticket-granting usernames. You can either specify a list of trusted_users or a list of trusted_ips, or both.
timeout
The time, in seconds, that the ticket remains valid.
single_use
The ticket can be used only one time.
session_expiry
The duration time, in seconds, of the user session. The setting of 0 ends the user session when browser closes.
allow_superuser
Authenticate a user with admin privileges with a ticket. Set this to False to disable.