public class SlingshotGroupModuleEvaluator extends Object implements org.springframework.extensions.surf.extensibility.ExtensionModuleEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected SlingshotEvaluatorUtil |
util |
| Constructor and Description |
|---|
SlingshotGroupModuleEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyModule(org.springframework.extensions.surf.RequestContext context,
Map<String,String> evaluationProperties)
Checks to see whether or not the current user satisfies the group membership requirements
specified.
|
protected boolean |
getNegation(org.springframework.extensions.surf.RequestContext context,
Map<String,String> evaluationProperties)
Checks for a request for to negate the ruling.
|
protected boolean |
getRelationship(org.springframework.extensions.surf.RequestContext context,
Map<String,String> evaluationProperties)
Gets the logical relationship between all the groups to test for membership of.
|
String[] |
getRequiredProperties() |
void |
setSlingshotEvaluatorUtil(SlingshotEvaluatorUtil slingshotExtensibilityUtil) |
protected SlingshotEvaluatorUtil util
public void setSlingshotEvaluatorUtil(SlingshotEvaluatorUtil slingshotExtensibilityUtil)
public boolean applyModule(org.springframework.extensions.surf.RequestContext context,
Map<String,String> evaluationProperties)
applyModule in interface org.springframework.extensions.surf.extensibility.ExtensionModuleEvaluatorprotected boolean getNegation(org.springframework.extensions.surf.RequestContext context,
Map<String,String> evaluationProperties)
context - evaluationProperties - protected boolean getRelationship(org.springframework.extensions.surf.RequestContext context,
Map<String,String> evaluationProperties)
context - evaluationProperties - public String[] getRequiredProperties()
getRequiredProperties in interface org.springframework.extensions.surf.extensibility.ExtensionModuleEvaluatorCopyright © 2005–2014 Alfresco Software. All rights reserved.