public abstract static class DefaultSyncConfig.Authorizable
extends java.lang.Object
Constructor and Description |
---|
Authorizable() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getPathPrefix()
Defines the authorizables intermediate path prefix that is used when creating new authorizables.
|
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.
|
DefaultSyncConfig.Authorizable |
setAutoMembership(java.lang.String... autoMembership)
Sets the auto membership.
|
DefaultSyncConfig.Authorizable |
setExpirationTime(long expirationTime)
Sets the expiration time.
|
DefaultSyncConfig.Authorizable |
setPathPrefix(java.lang.String pathPrefix)
Sets the path prefix.
|
DefaultSyncConfig.Authorizable |
setPropertyMapping(java.util.Map<java.lang.String,java.lang.String> propertyMapping)
Sets the property mapping.
|
public long getExpirationTime()
public 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()
public java.util.Set<java.lang.String> getAutoMembership()
public DefaultSyncConfig.Authorizable setAutoMembership(java.lang.String... autoMembership)
null
values).autoMembership
- the membershipthis
getAutoMembership()
public 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.public DefaultSyncConfig.Authorizable setPropertyMapping(java.util.Map<java.lang.String,java.lang.String> propertyMapping)
propertyMapping
- the mappingthis
getPropertyMapping()
public java.lang.String getPathPrefix()
ExternalIdentity
.public DefaultSyncConfig.Authorizable setPathPrefix(java.lang.String pathPrefix)
pathPrefix
- the path prefix.this
getPathPrefix()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"