public static class DefaultSyncConfig.User extends DefaultSyncConfig.Authorizable
| Constructor and Description |
|---|
DefaultSyncConfig.User() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDynamicMembership()
Returns
true if a dynamic group membership is enabled. |
long |
getMembershipExpirationTime()
Returns the duration in milliseconds until the group membership of a user is expired.
|
long |
getMembershipNestingDepth()
Returns the maximum depth of group nesting when membership relations are synced.
|
DefaultSyncConfig.User |
setDynamicMembership(boolean dynamicMembership)
Enable or disable the dynamic group membership.
|
DefaultSyncConfig.User |
setMembershipExpirationTime(long membershipExpirationTime)
Sets the membership expiration time
|
DefaultSyncConfig.User |
setMembershipNestingDepth(long membershipNestingDepth)
Sets the group nesting depth.
|
getAutoMembership, getExpirationTime, getPathPrefix, getPropertyMapping, setAutoMembership, setExpirationTime, setPathPrefix, setPropertyMappingpublic long getMembershipExpirationTime()
@Nonnull public DefaultSyncConfig.User setMembershipExpirationTime(long membershipExpirationTime)
membershipExpirationTime - the time in milliseconds.thisgetMembershipExpirationTime()public long getMembershipNestingDepth()
@Nonnull public DefaultSyncConfig.User setMembershipNestingDepth(long membershipNestingDepth)
membershipNestingDepth - the depth.thisgetMembershipNestingDepth()@Nonnull public boolean getDynamicMembership()
true if a dynamic group membership is enabled.
Turning this option on may alter the behavior of other configuration
options dealing with synchronization of group accounts and group membership.
In particular it's an implementation detail if external groups may
no longer be synchronized into the repository.true if dynamic group membership for external
user identities is turn on; false otherwise.@Nonnull public DefaultSyncConfig.User setDynamicMembership(boolean dynamicMembership)
dynamicMembership - Boolean flag to enable or disable a dedicated
dynamic group management.thisfor details.Copyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.