public abstract static class DefaultSyncConfig.Authorizable extends Object
| Constructor and Description |
|---|
DefaultSyncConfig.Authorizable() |
| Modifier and Type | Method and Description |
|---|---|
Set<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.
|
String |
getPathPrefix()
Defines the authorizables intermediate path prefix that is used when creating new authorizables.
|
Map<String,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(String... autoMembership)
Sets the auto membership.
|
DefaultSyncConfig.Authorizable |
setExpirationTime(long expirationTime)
Sets the expiration time.
|
DefaultSyncConfig.Authorizable |
setPathPrefix(String pathPrefix)
Sets the path prefix.
|
DefaultSyncConfig.Authorizable |
setPropertyMapping(Map<String,String> propertyMapping)
Sets the property mapping.
|
public long getExpirationTime()
@Nonnull public DefaultSyncConfig.Authorizable setExpirationTime(long expirationTime)
expirationTime - time in milliseconds.thisgetExpirationTime()public boolean isApplyRFC7613UsernameCaseMapped()
public DefaultSyncConfig.Authorizable setApplyRFC7613UsernameCaseMapped(boolean applyRFC7613UsernameCaseMapped)
applyRFC7613UsernameCaseMapped - true if the UsernameCaseMapped profile shall be used for normalization.thisisApplyRFC7613UsernameCaseMapped()@Nonnull public Set<String> getAutoMembership()
@Nonnull public DefaultSyncConfig.Authorizable setAutoMembership(@Nonnull String... autoMembership)
null values).autoMembership - the membershipthisgetAutoMembership()@Nonnull public Map<String,String> getPropertyMapping()
{
"rep:fullname": "cn",
"country", "c",
"profile/email": "mail",
"profile/givenName": "cn"
}
The implicit properties like userid, groupname, password must not be mapped.@Nonnull public DefaultSyncConfig.Authorizable setPropertyMapping(@Nonnull Map<String,String> propertyMapping)
propertyMapping - the mappingthisgetPropertyMapping()@Nonnull public String getPathPrefix()
ExternalIdentity.@Nonnull public DefaultSyncConfig.Authorizable setPathPrefix(@Nonnull String pathPrefix)
pathPrefix - the path prefix.thisgetPathPrefix()Copyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.