| Modifier and Type | Field and Description |
|---|---|
static String |
PN_ADDMEMBERS |
static String |
PN_ADDTOGROUP |
static String |
PN_BINDMEMBERS |
static String |
PN_CREATEGROUP |
static String |
RESOURCE_TYPE |
bindings, distributionAgent, DRYRUN_EXPR, DRYRUN_KEY, dryRunObject, EMPTY_ITERATOR, IGNORED_PROPERTIES, parent, plumber, PN_STATUS, PN_STATUS_MODIFIED, properties, READ_ONLY, referrer, resource, RT_PREFIX, STATUS_FINISHED, STATUS_STARTED| Constructor and Description |
|---|
AuthorizablePipe(Plumber plumber,
org.apache.sling.api.resource.Resource resource)
public constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMembers(org.apache.jackrabbit.api.security.user.Authorizable auth)
Add to current authorizable (that should be a group) the configured members in addMembers expression
|
protected void |
addToGroup(org.apache.jackrabbit.api.security.user.Authorizable auth)
Add current authorizable to configured addToGroup expression (should resolve as a group id)
|
protected void |
bindMembers(org.apache.jackrabbit.api.security.user.Authorizable auth)
add current group's members to the bindings
|
protected org.apache.jackrabbit.api.security.user.Authorizable |
getAuthorizable()
Returns the authorizable configured by its expression, creating it if
not present and if
createGroup is set to true, or, if
no expression, tries to resolve getInput() as an authorizable |
Iterator<org.apache.sling.api.resource.Resource> |
getOutput()
default execution, just returns current resource
|
Object |
getOutputBinding()
returns the binding output used in container pipe's expression
|
boolean |
modifiesContent()
returns true if that pipe modifies content during its execution
|
getBindings, getConfiguration, getConfiguredInput, getDistributionAgent, getExpr, getInput, getName, getParent, getPath, getPreviousPipe, getResource, isDryRun, setBindings, setParent, setReferrer, toStringpublic static final String RESOURCE_TYPE
public static final String PN_CREATEGROUP
public static final String PN_ADDTOGROUP
public static final String PN_ADDMEMBERS
public static final String PN_BINDMEMBERS
public Object getOutputBinding()
PipegetOutputBinding in interface PipegetOutputBinding in class BasePipepublic boolean modifiesContent()
PipemodifiesContent in interface PipemodifiesContent in class BasePipepublic Iterator<org.apache.sling.api.resource.Resource> getOutput()
BasePipeprotected org.apache.jackrabbit.api.security.user.Authorizable getAuthorizable()
createGroup is set to true, or, if
no expression, tries to resolve getInput() as an authorizableprotected void addToGroup(org.apache.jackrabbit.api.security.user.Authorizable auth)
auth - authorizable to add to the groupprotected void addMembers(org.apache.jackrabbit.api.security.user.Authorizable auth)
auth - group to which members should be addedprotected void bindMembers(org.apache.jackrabbit.api.security.user.Authorizable auth)
auth - group whose members should be bound in the pipe bindingsCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.