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:
On the Cloudera Manager interface, enter the trusted authentication settings in the Arcadia Visualization Server Advanced Configuration Snippet (Safety Valve) for settings_cm.py field.
On the Ambari interface, enter the trusted authentication settings in the ArcViz Settings field.
For MapR, enter the trusted authentication settings directly in the
settings.py
file.
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
}
The following parameters are used in the above sample:
trusted_ips
or a list of
trusted_users
, or both.trusted_users
or a list of trusted_ips
, or both.0
ends the user session when browser closes.admin
privileges with a ticket. Set this to
False
to disable.