public class DefaultSyncConfigImpl extends DefaultSyncConfig
DefaultSyncConfig defines how users and groups from an external source are synced into the repository using
the DefaultSyncHandler.DefaultSyncConfig.Authorizable, DefaultSyncConfig.Group, DefaultSyncConfig.User| Constructor and Description |
|---|
DefaultSyncConfigImpl() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultSyncConfig |
of(org.apache.jackrabbit.oak.spi.security.ConfigurationParameters params)
Creates a new LDAP provider configuration based on the properties store in the given parameters.
|
getName, group, setName, userpublic static final String PARAM_NAME_DEFAULT
@Property(label="Sync Handler Name",
description="Name of this sync configuration. This is used to reference this handler by the login modules.",
value="default")
public static final String PARAM_NAME
public static final String PARAM_USER_EXPIRATION_TIME_DEFAULT
DefaultSyncConfigImpl.User#getExpirationTime(),
Constant Field Values@Property(label="User Expiration Time",
description="Duration until a synced user gets expired (eg. \'1h 30m\' or \'1d\').",
value="1h")
public static final String PARAM_USER_EXPIRATION_TIME
DefaultSyncConfigImpl.User#getExpirationTime(),
Constant Field Valuespublic static final String[] PARAM_USER_AUTO_MEMBERSHIP_DEFAULT
DefaultSyncConfigImpl.User#getAutoMembership()@Property(label="User auto membership",
description="List of groups that a synced user is added to automatically",
value={},
cardinality=2147483647)
public static final String PARAM_USER_AUTO_MEMBERSHIP
DefaultSyncConfigImpl.User#getAutoMembership(),
Constant Field Valuespublic static final String[] PARAM_USER_PROPERTY_MAPPING_DEFAULT
DefaultSyncConfigImpl.User#getPropertyMapping()@Property(label="User property mapping",
description="List mapping definition of local properties from external ones. eg: \'profile/email=mail\'.Use double quotes for fixed values. eg: \'profile/nt:primaryType=\"nt:unstructured\"",
value="rep:fullname=cn",
cardinality=2147483647)
public static final String PARAM_USER_PROPERTY_MAPPING
DefaultSyncConfigImpl.User#getPropertyMapping(),
Constant Field Valuespublic static final String PARAM_USER_PATH_PREFIX_DEFAULT
DefaultSyncConfigImpl.User#getPathPrefix(),
Constant Field Values@Property(label="User Path Prefix",
description="The path prefix used when creating new users.",
value="")
public static final String PARAM_USER_PATH_PREFIX
DefaultSyncConfigImpl.User#getPathPrefix(),
Constant Field Valuespublic static final String PARAM_USER_MEMBERSHIP_EXPIRATION_TIME_DEFAULT
DefaultSyncConfigImpl.User#getMembershipExpirationTime(),
Constant Field Values@Property(label="User Membership Expiration",
description="Time after which membership expires (eg. \'1h 30m\' or \'1d\'). Note however, that a membership sync is aways bound to a sync of the user.",
value="1h")
public static final String PARAM_USER_MEMBERSHIP_EXPIRATION_TIME
DefaultSyncConfigImpl.User#getMembershipExpirationTime(),
Constant Field Valuespublic static final int PARAM_USER_MEMBERSHIP_NESTING_DEPTH_DEFAULT
User#getMembershipNestingDepth(),
Constant Field Values@Property(label="User membership nesting depth",
description="Returns the maximum depth of group nesting when membership relations are synced. A value of 0 effectively disables group membership lookup. A value of 1 only adds the direct groups of a user. This value has no effect when syncing individual groups only when syncing a users membership ancestry.",
intValue=0)
public static final String PARAM_USER_MEMBERSHIP_NESTING_DEPTH
User#getMembershipNestingDepth(),
Constant Field Valuespublic static final String PARAM_GROUP_EXPIRATION_TIME_DEFAULT
DefaultSyncConfigImpl.Group#getExpirationTime(),
Constant Field Values@Property(label="Group Expiration Time",
description="Duration until a synced group expires (eg. \'1h 30m\' or \'1d\').",
value="1d")
public static final String PARAM_GROUP_EXPIRATION_TIME
DefaultSyncConfigImpl.Group#getExpirationTime(),
Constant Field Valuespublic static final String[] PARAM_GROUP_AUTO_MEMBERSHIP_DEFAULT
DefaultSyncConfigImpl.Group#getAutoMembership()@Property(label="Group auto membership",
description="List of groups that a synced group is added to automatically",
value={},
cardinality=2147483647)
public static final String PARAM_GROUP_AUTO_MEMBERSHIP
DefaultSyncConfigImpl.Group#getAutoMembership(),
Constant Field Valuespublic static final String[] PARAM_GROUP_PROPERTY_MAPPING_DEFAULT
DefaultSyncConfigImpl.Group#getPropertyMapping()@Property(label="Group property mapping",
description="List mapping definition of local properties from external ones.",
value={},
cardinality=2147483647)
public static final String PARAM_GROUP_PROPERTY_MAPPING
DefaultSyncConfigImpl.Group#getPropertyMapping(),
Constant Field Valuespublic static final String PARAM_GROUP_PATH_PREFIX_DEFAULT
DefaultSyncConfigImpl.Group#getPathPrefix(),
Constant Field Values@Property(label="Group Path Prefix",
description="The path prefix used when creating new groups.",
value="")
public static final String PARAM_GROUP_PATH_PREFIX
DefaultSyncConfigImpl.Group#getPathPrefix(),
Constant Field Valuespublic static DefaultSyncConfig of(org.apache.jackrabbit.oak.spi.security.ConfigurationParameters params)
params - the configuration parameters.Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.