DescriptionUse this task to search for a core object and create an AuthenticatedUser which is passed to the datamap with the key "AuthenticatedUser". ConfigurationTo use this task, configure the following delegate expression in your service task: Code Block |
---|
${findAndAuthenticateCoreObjectParameterizedDelegate} |
The following parameters can be configured in PRIME Designer: Parameter | Mandatory | Default value | Description |
---|
principalFieldName | Image Modified |
| The field name of the unique identifier of the CoreObject, for example. "Email" | coreTemplateNames | Image Modified |
| The CoreTemplate names in which the CoreObject shall be searched for. The search starts with the first name in the list, for example, "Person,Employee,CleanupPerson". |
The task can be defined as follows: Code Block |
---|
title | Spring configuration |
---|
| <bean name="findAndAuthenticateCoreObjectParameterizedAction" class="de.vps.act.action.login.FindAndAuthenticateCoreObjectParameterizedAction">
<property name="coreObjectSearchManager" ref="coreObjectSearchManager"/>
<property name="authenticationProvider" ref="userPasswordCoreObjectAuthenticationProvider" />
<property name="authProfileProvider" ref="authProfileProvider" />
<property name="dataPoolProvider" ref="dataPoolProvider" />
<property name="coreTemplateProvider" ref="coreTemplateProvider" />
</bean>
<bean id="findAndAuthenticateCoreObjectParameterizedDelegate" class="de.vps.act.processexecution.delegation.TaskParametrizedActionBasedJavaDelegate">
<property name="taskParameterExtractor" ref="taskParameterExtractor" />
<property name="action" ref="findAndAuthenticateCoreObjectParameterizedAction" />
</bean> |
|