|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.security.processing.SampleSecurityConverter
public class SampleSecurityConverter
Sample Security Converter Index Service.
| Nested Class Summary | |
|---|---|
static class |
SampleSecurityConverter.ExecutionMode
Types of execution modes this service supports. |
| Field Summary | |
|---|---|
static java.lang.String |
BUNDLE_NAME
name of bundle. |
static java.lang.String |
CONFIG_FILE
name of configuration file. |
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. |
| Fields inherited from interface org.eclipse.smila.processing.ProcessingService |
|---|
PROPERTY_NAME |
| Constructor Summary | |
|---|---|
SampleSecurityConverter()
|
|
| Method Summary | |
|---|---|
protected void |
activate(ComponentContext context)
DS activate method. |
protected void |
deactivate(ComponentContext context)
DS deactivate method. |
Id[] |
process(Blackboard blackboard,
Id[] recordIds)
process records on Blackboard service. |
void |
setSecurityResolver(SecurityResolver securityResolver)
Sets the _securityResolver. |
void |
unsetSecurityResolver(SecurityResolver securityResolver)
Set the _securityResolver to null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BUNDLE_NAME
public static final java.lang.String CONFIG_FILE
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
| Constructor Detail |
|---|
public SampleSecurityConverter()
| Method Detail |
|---|
protected void activate(ComponentContext context)
throws java.lang.Exception
context - ComponentContext
java.lang.Exception - if any error occurs
protected void deactivate(ComponentContext context)
throws java.lang.Exception
context - the ComponentContext
java.lang.Exception - if any error occurspublic void setSecurityResolver(SecurityResolver securityResolver)
securityResolver - the SecurityResolver to setpublic void unsetSecurityResolver(SecurityResolver securityResolver)
securityResolver - the SecurityResolver to unset
public Id[] process(Blackboard blackboard,
Id[] recordIds)
throws ProcessingException
process in interface ProcessingServiceblackboard - Blackboard service managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.ProcessingService.process(Blackboard, Id[])
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||