This component queries the database cache in order to get the groups for each user requested.

PerformUserRequest
Factory Namecom.searchtechnologies.aspire:aspire-simple-group-expander
subTypeperformRequest
Inputs 
Outputs 

Configuration


This section lists all configuration parameters available to configure the PerformUserRequest component.

ElementTypeDefaultDescription
staticGroups/groupString
A list of static groups to add to the response
addPublicBooleanfalseSpecifies if the response should include the PUBLIC:ALL group
domain/request/@stripBooleanfalseSpecifies if the domain coming in the request should be removed from the user before executing the query in the cache
domain/request/@addString
Specifies a static domain to add to the request user before executing the query in the cache
domain/response/@stripBooleanfalseSpecifies if the domain of the groups coming in the response should be removed before returning the response.
domain/response/@addString
Specifies a static domain to add to the response groups before returning the response

Example Configuration


Simple

<component name="PerformUserRequest" subType="performRequest" factoryName="aspire-simple-group-expander">
</component>

 

Complex

<component name="PerformUserRequest" subType="performRequest" factoryName="aspire-simple-group-expander">
  <staticGroups>
     <group>sales</group>
  </staticGroups>
  <addPublic>true</addPublic>
  <domain>
    <request strip="true" />
    <response add="core-eng" />
  </domain>
</component>