The Simple Group Expander is an abstract stage implementation on which group expansion components such as the SharePoint Group Expansion component is based.
In order to create a group expansion component, the programmer simply creates a component that extends the simple group expander and implement implements the (abstract) method GroupExpansionResult expandGroups(GroupExpansionRequest request) throws AspireException. This method should ascertain the determines which groups the user belongs to and add adds them to the result before returning. The component deals with all of the unwrapping and wrapping of data to the job.
Simple Group Scanner | |
---|---|
Factory Name | com.searchtechnologies.aspire:N/A |
subType | default |
Inputs | A Job containing a group expansion request |
Outputs | A Job containing a group expansion result |
Group expansion request messages that are read by GroupExpansionRequest.java have the following format:
<doc type="groupExpansion"> <username dn="cn=Steve Denny,cn=Users,dc=search,dc=local">sdenny</username> </doc>
Group expansion result messages that are created by GroupExpansionResult.java have the following format:
<doc type="groupExpansion"> <username dn="cn=Steve Denny,cn=Users,dc=search,dc=local">sdenny</username> <groups> <group source="ldap">ldapGroup1</group> <group source="ldap">ldapGroup2</group> <group source="ldap">ldapGroup3</group> </groups> </doc>
Any component based on the Simple Group Expander will respond to the following configuration tags:
Element | Type | Default | Description |
---|---|---|---|
aclPrefix | string |
A string that will be prepended to any group added to the GroupExpansionResult. |