Secure Your Content Using the Advanced Security Module
- See the Elasticsearch or Azure Cognitive Search topic in How to Configure Your Target.
About
- ASM = Advanced Security Module
- ASM is used by:
- SmartHub
- Connectivity Hub
- For a video walk-thru of the ASM see BA Insight ASM walk-thru.
Overview
For a high-level conceptual explanation of the Advanced Security Module, with graphics, see Security Trimming in SmartHub and Connectivity Hub.
Configuration Options
Any combination of the following authentication modes are valid:
- SmartHub Authentication Modes:
- Azure AD
- Windows authentication
- Connectivity Hub Target Directories:
- Azure AD
- Active Directory
- Must be on-premise AD if you use a connector with no security sync, such as FileShare
Configuration Examples
Option 1: Azure AD in SmartHub and Connectivity Hub
Option 2: Azure AD in SmartHub/Local AD in Connectivity Hub
Option 3: Windows Authentication in SmartHub*/Local AD in Connectivity Hub
Option 4: Windows Authentication in SmartHub*/Azure AD in Connectivity Hub
ASM User Format, Based on Connectivity Hub Target Directory
Azure AD Target Directory
- UPN:
- user@domain
- domain\user: Somesite.local\a_sharepoint_user
- ID: ########-####-####-####-############
Active Directory Target Directory
- Distinguished name:
- full_domain\user
- UPN: user@full_domain
- SID: S-1-5-32-573
To find out the user format, check the SmartHub log for these entries and make sure the requirements listed above are met:
DEBUG - GetGroupInfo Started DEBUG - User: a_sharepoint_user@azuredomain.com DEBUG - Complete list of users, including domain remapping DEBUG - Remapped user: a_sharepoint_user@azuredomain.com DEBUG - Remapped user: a_sharepoint_user@localdomain.local DEBUG - Retrieving Security Map DEBUG - GetGroupsList Started
Add the Advanced Security Module Tuning Stage
To use the Advanced Security Module, you must add a Tuning stage.
Use the following steps to add the ASM Tuning stage.
Caution: This stage must be the first stage executed among your search engine tuning stages.
You can change the order of the stages by using the up and down arrows.
- If you're using Advanced Security Module to secure content from a Connector which relies on Active Directory for users and groups, such as (FileShare, FileNet, SharePoint), you must set "enableSidSecurity" to "true".
- See more details in the configuration table below.
- Navigate to the SmartHub Administration page at http(s)://[web-app-url]/_admin.
- For example: http://smarthub.azurewebsites.net/_admin
- For example: http://smarthub.azurewebsites.net/_admin
- Click on the search engine which should be secured.
- Click ADD QUERY TUNING.
- User Experience Tuning: Use the down arrow to select Advanced Security Module.
- Name: Complete a name for your stage.
-
Parameters: Copy and paste the following code, replacing the sample values with the appropriate values.
Copy<config>
<userPrincipalNameProperty>upn</userPrincipalNameProperty>
<domainRemapping>domain=domain.local</domainRemapping>
<groupCacheTimeout>10</groupCacheTimeout>
<additionalSecurityLevels>0</additionalSecurityLevels>
<enableSidSecurity>true</enableSidSecurity>
<includeResultSources>ASM</includeResultSources>
<excludeResultSources>XYZ</excludeResultSources>
<impersonateUser>domain\uA=domain\uB</impersonateUser>
<debug>false</debug>
<showErrorWhenCHNotAvailable>true</showErrorWhenCHNotAvailable>
</config>