ZTrust Documentation
  • User Manual - ZTrust V3.0
    • Key Terminologies
    • Guide to Navigation
      • Clients
        • Clients List
        • Initial Access Token
        • Client Registration
      • Client Scopes
      • Realm Roles
      • Users
      • Groups
      • Sessions
      • Events
        • User events
        • Admin events
      • Realm Settings
        • General
        • Login
        • Email
        • Themes
        • Keys
        • Events
        • Localization
        • Security Defenses
        • Sessions
        • Tokens
        • Client Policies
        • User profile
        • User Registration
      • Authentication
        • Flows
        • Required Actions
        • Policies
      • Identity Providers
      • User Federation
    • Admin Manual
      • Creation of a Realm
      • Creation of a User
        • Login to Account Console
      • How to set up Password Invalidator
      • How to set up Password Policies
      • How to set up Brute Force Detection feature
      • How to enable the One-to-Many feature
      • How to set up Multi-Factor Authentication
        • Setup of ReCAPTCHA registration flow
        • Setup of ReCAPTCHA login flow
        • Setup of OTP Based Registration
        • Setup of OTP Based Login
        • Setup of QR Code Based Authentication
        • Setup of Push Notification Based Authentication
        • Setup of Biometric based Authentication
        • How to set-up 2FA Authentication
      • ZTrust Authenticator App
      • Self-Service Portal (SSP)
        • Authenticator Setup from Self-Service Portal
        • Set Your Profile Photo in Self-Servicce Portal
      • How to setup Session Invalidator feature
      • How to setup GDPR Compliant feature
      • How to set up Social Media login
      • How to setup Inactive User Tracking feature
      • How to setup Archive Inactive User feature
      • Role-Specific Attribute Based Access Control at client level
      • Self-Role Request at the Business Level
      • Self-Role Request at the Application Level
      • How to setup Delete Archived/Inactive User feature
      • Reporting Module
      • Geo Tagging and Fencing
      • Event Type
  • Release Notes
    • ZTrust V3.1.0
    • ZTrust V3.0.0
    • ZTrust V2.1.0
    • ZTrust V2.0.1
    • ZTrust V2.0.0
    • ZTrust V1.0.4
    • ZTrust V1.0.3
    • ZTrust V1.0.2
    • ZTrust V1.0.1
    • ZTrust V1.0.0
  • Frequently Asked Questions
  • User Manual - ZTrust V2.0
    • Key Terminologies
    • Guide to Navigation
      • Clients
        • Clients List
        • Initial Access Token
        • Client Registration
      • Client Scopes
      • Realm Roles
      • Users
      • Groups
      • Sessions
      • Events
        • User events
        • Admin events
      • Realm Settings
        • General
        • Login
        • Email
        • Themes
        • Keys
        • Events
        • Localization
        • Security Defenses
        • Sessions
        • Tokens
        • Client Policies
        • User profile
        • User Registration
      • Authentication
        • Flows
        • Required Actions
        • Policies
      • Identity Providers
      • User Federation
    • Admin Manual
      • Creation of a Realm
      • Creation of a User
        • Login to Account Console
      • How to set up Password Invalidator
      • How to set up Password Policies
      • How to set up Brute Force Detection feature
      • How to enable the One-to-Many feature
      • How to set up Multi-Factor Authentication
        • Setup of ReCAPTCHA registration flow
        • Setup of ReCAPTCHA login flow
        • Setup of OTP Based Registration
        • Setup of OTP Based Login
        • Setup Time-based One-Time Password (TOTP) Based Login
        • Setup of QR Code Based Authentication
        • Setup of Push Notification Based Authentication
        • Setup of Biometric based Authentication
        • How to set-up 2FA Authentication
      • How to setup Session Invalidator feature
      • How to setup GDPR Compliant feature
      • How to set up Social Media login
      • How to setup Inactive User Tracking feature
      • How to setup Archive Inactive User feature
      • How to setup Delete Archived/Inactive User feature
      • Role-Specific Attribute Based Access Control at client level
      • Reporting Module
      • Geo Tagging and Fencing
      • Event Type
  • User Manual - ZTrust V1.0
    • Guide to Navigation
      • Realm Settings
        • General
        • Login
        • Keys
        • Email
        • Themes
        • RabbitMQ Config
        • Localization
        • Cache
        • Tokens
        • Client Registration
        • Client Policies
        • Security Defenses
      • Clients
      • Client Scopes
        • Default Client Scopes
      • Roles
        • Realm Roles
        • Default Roles
      • Identity Providers
      • User Federation
      • Authentication
        • Flows
        • Bindings
        • Required Actions
        • Password Policy
        • OTP Policy
        • WebAuthn Policy
        • WebAuthn Passwordless Policy
        • CIBA Policy
      • Groups
        • Default Groups
      • Users
      • Sessions
        • Realm Sessions
        • Revocation
      • Events
        • Login Events
        • Admin Events
        • Config
      • Import
      • Export
    • Admin Manual
      • Creation of a Realm
      • Creation of a User
        • Login to Account Console
      • How to set up Password Invalidator
      • How to set up Password Policies
      • How to set up Brute Force Detection feature
      • How to enable the One-to-Many feature
      • How to set up Multi-Factor Authentication
        • Setup of ReCAPTCHA registration flow
        • Setup of ReCAPTCHA login flow
        • Setup of OTP Based Registration
        • Setup of OTP Based Login
        • Setup of QR Code Based Authentication
        • Setup of Push Notification Based Authentication
        • Setup of Biometric based Authentication
      • How to setup Session Invalidator feature
      • How to setup GDPR Compliant feature
      • How to set up Social Media login
      • How to setup Inactive User Tracking feature
      • How to setup Archive Inactive User feature
      • How to setup Delete Archived/Inactive User feature
Powered by GitBook
On this page
  • General options
  • Connection and authentication settings
  • Synchronization settings
  • Kerberos integration
  • Cache settings
  • Advanced settings
  1. User Manual - ZTrust V2.0
  2. Guide to Navigation

User Federation

PreviousIdentity ProvidersNextAdmin Manual

Last updated 10 months ago

It enables ZTrust to establish connections with external user databases.

Upon selecting Add Kerberos providers, you will be directed to the screen below.

UI Display Name

This indicates the display name of the provider when linked in the admin console.

Kerberos Realm

This refers to the complete name of the server principal for the HTTP service, including the server and domain name.

Server Principal

This refers to the complete name of the server principal for the HTTP service, including the server and domain name.

KeyTab

This indicates the location of the Kerberos KeyTab file containing the credentials of the server principal.

Debug

This toggle button, when activated (toggled ON), enables debug logging to standard output for the Krb5LoginModule.

When deactivated (toggled OFF), debug logging is disabled.

You can adjust this setting based on your requirements by toggling it ON or OFF.

Allow Password Authentication

This toggle button, when activated (toggled ON), enables the option for username/password authentication against the Kerberos database.

When deactivated (toggled OFF), this option is disabled.

You can adjust this setting based on your requirements by toggling it ON or OFF.

Edit mode

This setting has two values:

  • READ_ONLY: Indicates a read-only LDAP store.

  • UNSYNCED: Implies that user data will be imported but not synced back to LDAP.

You can choose the most suitable option from the dropdown based on your needs.

Update Profile First Login

It is a toggle button, when enabled (turned ON), profile has to be updated on first login.

When disabled (toggled OFF), update profile after first login is not required.

You can toggle it ON or OFF based on your requirements.

Cache policy

This is the cache policy for this storage provider, which can have the following values:

  • Default: Indicates whatever the default settings are for the global cache.

  • Evict_Daily: Specifies the time of day every day that the cache will be invalidated.

  • Evict_Weekly: Indicates the day of the week and time the cache will be invalidated.

  • Max_Lifespan: Refers to the time in milliseconds that will be the lifespan of a cache entry.

  • No_Cache: Indicates that no cache invalidation is required.

You can choose the most suitable option based on your needs.

Save

After making some changes, if you want to apply those changes, click on Save to implement those changes.

Cancel

If you decide not to apply the changes, click on Cancel to discard them.

Upon selecting LDAP, you will be directed to the following screen.

General options

UI Display Name

This indicates the display name of the provider when linked in the admin console.

Vendor

This indicates the LDAP vendor or provider.

You can select the most suitable option based on your requirements from the dropdown menu.

Connection and authentication settings

Connection URL

This indicates the connection URL to your LDAP Server.

Enable StartTLS

When deactivated (toggled OFF), there is no encryption applied.

You can adjust it according to your needs by toggling it ON or OFF.

Use Truststore SPI

This setting specifies whether the LDAP connection will utilize the truststore SPI with the configured truststore. It can take two values:

  • Always: It will always use the truststore SPI.

  • Never: It will not use the truststore SPI.

You can select the most suitable option from the dropdown based on your requirements.

Connection Pooling

This toggle button, when activated (toggled ON), indicates that ZTrust should use Connection Pooling for accessing the LDAP Server.

When deactivated (toggled OFF), ZTrust does not use Connection Pooling.

You can adjust this setting according to your requirements by toggling it ON or OFF.

Connection Timeout

This setting determines the LDAP connection timeout duration, measured in milliseconds.

Bind type

This specifies the type of authentication method used during LDAP Bind operation, which is utilized in most requests sent to the LDAP server.

It can have two values:

  • None: Indicates anonymous LDAP authentication.

  • Simple: Refers to Bind Credential + Bind Password authentication.

You can select the preferred option from the dropdown according to your requirements.

Bind DN

It refers to the DN of LDAP Admin, which will be used by ZTrust to access LDAP

Bind Credential

This specifies the password of LDAP Admin.

LDAP searching and updating

Edit mode

This setting has three values:

  • READ_ONLY: Indicates a read-only LDAP store.

  • WRITABLE: Signifies that data will be synced back to LDAP on demand.

  • UNSYNCED: Implies that user data will be imported but not synced back to LDAP.

You can choose the most suitable option from the dropdown based on your needs.

Users DN

This specifies the full DN of the LDAP tree where your users are located.

This DN is a parent of LDAP Users.

Username LDAP attribute

This specifies the name of the LDAP attribute that is mapped as the Keycloak username.

RDN LDAP attribute

It indicates the name of the LDAP attribute that is used as the RDN (top attribute) of the typical user DN.

Typically, it is the same as the username LDAP attribute, but it is not required to be so.

UUID LDAP attribute

This specifies the name of the LDAP attribute that is used as the unique object identifier for objects in LDAP. While for many LDAP server vendors it is the entry UUID, some may use different attributes.

If your LDAP server does not support the notion of UUID, you can choose any other attribute that is supposed to be unique among LDAP users in the tree.

User Object Classes

It specifies the objectClass attribute values for users in LDAP, separated by commas.

When new ZTrust users are created, they will have all these object classes assigned.

Existing LDAP user records will only be retrieved if they include all of these object classes.

User LDAP filter

This pertains to the additional LDAP filter used for filtering searched users.

If you don't want any additional filter, you can leave this field empty.

Search scope

This setting can have two values:

  • One Level: The search applies only to users in the DNs specified by the User DNs.

  • Subtree: The search applies to the entire subtree.

You can select your preferred option from the dropdown based on your requirements.

Read timeout

This setting specifies the LDAP read timeout duration, measured in milliseconds.

It applies to LDAP read operations.

Pagination

This toggle button, when activated (toggled ON), indicates that the LDAP server supports pagination. When deactivated (toggled OFF), the LDAP server does not support pagination.

You can adjust it according to your requirements by toggling it ON or OFF.

Referral

This setting determines whether LDAP referrals should be followed or ignored. If referrals are enabled, authentication may slow down since the LDAP server can direct queries to other LDAP servers, potentially including untrusted ones.

Synchronization settings

Import users

This toggle button, when activated (toggled ON), indicates that LDAP users will be imported into the Keycloak database and synced according to the configured sync policies.

When deactivated (toggled OFF), the users will not be imported.

You can adjust this setting according to your requirements by toggling it ON or OFF.

Sync Registrations

This toggle button, when activated (toggled ON), indicates that newly created users will be created within the LDAP Store.

The priority affects which provider is chosen to sync the new user.

When deactivated (toggled OFF), newly created users will not be created within the LDAP Store.

You can adjust this setting according to your requirements by toggling it ON or OFF.

Batch Size

This indicates the count of LDAP users that must be imported from LDAP to ZTrust within a single transaction.

Periodic Full Sync

This toggle button, when activated (toggled ON), enables full synchronization of LDAP users to Ztrust. When deactivated (toggled OFF), full synchronization of LDAP users is disabled.

You can adjust this setting based on your requirements by toggling it ON or OFF.

Enabling this option activates another field called Full Sync Period.

Full Sync Period

This specifies the duration for full synchronization in seconds.

Periodic Changed Users Sync

This toggle button, when activated (turned ON), enables periodic synchronization of changed or newly created LDAP users to ZTrust.

When deactivated (turned OFF), periodic synchronization of changed or newly created LDAP users to ZTrust will not be enabled.

You can adjust this setting based on your requirements by toggling it ON or OFF.

When enabled, it will also enable another field - Changed Users Sync Period

Changed Users Sync Period

This specifies the duration for the synchronization of changed or newly created LDAP users in seconds.

Kerberos integration

Allow Kerberos authentication

This toggle button, when activated (toggled ON), allows HTTP authentication of users with SPNEGO/Kerberos tokens. User authentication data will be provisioned from this LDAP Server.

When deactivated (toggled OFF), HTTP authentication of users with SPNEGO/Kerberos tokens is disabled.

You can adjust it according to your requirements by toggling it ON or OFF.

Once enabled (toggled ON), it will enable the below settings

Kerberos realm

It specifies the name of the Kerberos realm that you want to integrate with your LDAP system.

Server principal

It refers to the complete name of the server principal for the HTTP service, including both the server and domain name.

Key tab

It indicates the location of the Kerberos KeyTab file, which contains the credentials of the server principal.

Kerberos principal attribute

It denotes the LDAP attribute name that corresponds to the Kerberos principal. This attribute is used to locate the appropriate LDAP users following successful Kerberos authentication.

If left empty, the LDAP user will be identified based on the LDAP username that matches the first part of the Kerberos principal.

Debug

It is a toggle button, when enabled (toggled ON), activates debug logging to the standard output for Krb5LoginModule.

When toggled OFF, it deactivates this debug logging.

You can toggle it ON or OFF based on your needs.

Use Kerberos For Password Authentication

This toggle button, when activated (toggled ON), utilizes the Kerberos login module to authenticate username/password against the Kerberos server instead of authenticating against the LDAP server with Directory Service API.

When deactivated (toggled OFF), the Kerberos login module is not used.

You can adjust this setting according to your requirements by toggling it ON or OFF.

Cache settings

Cache Policy

This is the cache policy for this storage provider, which can have the following values:

  • Default: Indicates whatever the default settings are for the global cache.

  • Evict_Daily: Specifies the time of day every day that the cache will be invalidated.

  • Evict_Weekly: Indicates the day of the week and time the cache will be invalidated.

  • Max_Lifespan: Refers to the time in milliseconds that will be the lifespan of a cache entry.

  • No_Cache: Indicates that no cache invalidation is required.

You can choose the most suitable option based on your needs.

Advanced settings

Enable the LDAPv3 Password Modify Extended Operation

This toggle button, when activated (toggled ON), enables the use of the LDAPv3 Password Modify Extended Operation (RFC-3062). The Password Modify Extended operation typically requires that LDAP users already have passwords in the LDAP server.

When deactivated (toggled OFF), the Password Modify Extended Operation cannot be used.

You can adjust it according to your needs by toggling it ON or OFF.

Validate Password Policy

This toggle button, when activated (toggled ON), indicates that ZTrust should validate the password with the realm password policy before updating the LDAP mapped user.

When deactivated (toggled OFF), the ZTrust Password Policy would not be applied, meaning that the password will be updated on the LDAP Server unless the LDAP Server itself has some password policy rules.

You can adjust it according to your needs by toggling it ON or OFF.

Trust Email

This toggle button, when activated (toggled ON), indicates that the email provided by this provider is not verified, even if verification is enabled for the realm.

When deactivated (toggled OFF), the provided email needs to be verified.

You can adjust it according to your requirements by toggling it ON or OFF.

Save

After making some changes, if you want to apply those changes, click on Save to implement those changes.

Cancel

If you decide not to apply the changes, click on Cancel to discard them.

This toggle button, when activated (toggled ON), encrypts the connection to LDAP using STARTTLS, which disables .

connection pooling