Modifier and Type | Class and Description |
---|---|
static class |
SampleSecurityConverterPipelet.ExecutionMode
Types of execution modes this service supports.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXECUTION_MODE
name of annotation configuring the type of execution.
|
static java.lang.String |
PROP_READ_USERS_ATTRIBUTE_NAME
Constant for the property readUsersAttributeName.
|
static java.lang.String |
PROP_RESOLVE_GROUPS
Constant for the property resolveGroups.
|
static java.lang.String |
PROP_RESOLVE_USER_NAMES
Constant for the property resolveUserNames.
|
static java.lang.String |
PROP_RESOLVED_USER_NAME_PROPERTY_NAME
Constant for the property resolvedUserNamePropertyName.
|
Constructor and Description |
---|
SampleSecurityConverterPipelet() |
Modifier and Type | Method and Description |
---|---|
void |
configure(AnyMap configuration)
Reads the configuration.
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
public static final java.lang.String PROP_READ_USERS_ATTRIBUTE_NAME
public static final java.lang.String PROP_RESOLVE_GROUPS
public static final java.lang.String PROP_RESOLVE_USER_NAMES
public static final java.lang.String PROP_RESOLVED_USER_NAME_PROPERTY_NAME
public static final java.lang.String EXECUTION_MODE
public void configure(AnyMap configuration) throws ProcessingException
configure
in interface Pipelet
configuration
- configuration of pipelet.ProcessingException
- configuration is not applicable for pipelet (missing properties, wrong datatypes)public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
process
in interface Pipelet
blackboard
- Blackboard holding and managing the records.recordIds
- Ids of records to process.ProcessingException
- error during processing.