public abstract static class DefaultSyncConfig.Authorizable
extends java.lang.Object
Constructor and Description |
---|
Authorizable() |
Modifier and Type | Method and Description |
---|---|
@NotNull java.util.Set<java.lang.String> |
getAutoMembership()
Defines the set of group names that are automatically added to synced authorizable.
|
long |
getExpirationTime()
Returns the duration in milliseconds until a synced authorizable gets expired.
|
@NotNull java.lang.String |
getPathPrefix()
Defines the authorizables intermediate path prefix that is used when creating new authorizables.
|
@NotNull java.util.Map<java.lang.String,java.lang.String> |
getPropertyMapping()
Defines the mapping of internal property names from external values.
|
boolean |
isApplyRFC7613UsernameCaseMapped()
Returns true if new AuthorizableIDs will be normalized according to
the UsernameCaseMapped profile defined in RFC7613
|
DefaultSyncConfig.Authorizable |
setApplyRFC7613UsernameCaseMapped(boolean applyRFC7613UsernameCaseMapped)
Set to true if new AuthorizableIDs shall be normalized according to
the UsernameCaseMapped profile defined in RFC7613.
|
@NotNull DefaultSyncConfig.Authorizable |
setAutoMembership(java.lang.String... autoMembership)
Sets the auto membership.
|
@NotNull DefaultSyncConfig.Authorizable |
setExpirationTime(long expirationTime)
Sets the expiration time.
|
@NotNull DefaultSyncConfig.Authorizable |
setPathPrefix(@NotNull java.lang.String pathPrefix)
Sets the path prefix.
|
@NotNull DefaultSyncConfig.Authorizable |
setPropertyMapping(@NotNull java.util.Map<java.lang.String,java.lang.String> propertyMapping)
Sets the property mapping.
|
public long getExpirationTime()
@NotNull public @NotNull DefaultSyncConfig.Authorizable setExpirationTime(long expirationTime)
expirationTime
- time in milliseconds.this
getExpirationTime()
public boolean isApplyRFC7613UsernameCaseMapped()
public DefaultSyncConfig.Authorizable setApplyRFC7613UsernameCaseMapped(boolean applyRFC7613UsernameCaseMapped)
applyRFC7613UsernameCaseMapped
- true if the UsernameCaseMapped profile shall be used for normalization.this
isApplyRFC7613UsernameCaseMapped()
@NotNull public @NotNull java.util.Set<java.lang.String> getAutoMembership()
@NotNull public @NotNull DefaultSyncConfig.Authorizable setAutoMembership(@NotNull java.lang.String... autoMembership)
null
values).autoMembership
- the membershipthis
getAutoMembership()
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getPropertyMapping()
{
"rep:fullname": "cn",
"country", "c",
"profile/email": "mail",
"profile/givenName": "cn"
}
The implicit properties like userid, groupname, password must not be mapped.@NotNull public @NotNull DefaultSyncConfig.Authorizable setPropertyMapping(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> propertyMapping)
propertyMapping
- the mappingthis
getPropertyMapping()
@NotNull public @NotNull java.lang.String getPathPrefix()
ExternalIdentity
.@NotNull public @NotNull DefaultSyncConfig.Authorizable setPathPrefix(@NotNull @NotNull java.lang.String pathPrefix)
pathPrefix
- the path prefix.this
getPathPrefix()
Copyright © 2010 - 2020 Adobe. All Rights Reserved