public interface MappingManager
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getConnObjectKeyValue(Any<?> any,
Provision provision)
Get connObjectKey internal value.
|
Optional<String> |
getConnObjectKeyValue(Realm realm,
OrgUnit orgUnit)
Get connObjectKey internal value.
|
Pair<AttrSchemaType,List<PlainAttrValue>> |
getIntValues(Provision provision,
Item mapItem,
IntAttrName intAttrName,
AttrSchemaType schemaType,
Any<?> any,
AccountGetter usernameAccountGetter,
PlainAttrGetter plainAttrGetter)
Get attribute values for the given
Item and any object. |
boolean |
hasMustChangePassword(Provision provision)
Checks if there is a mapping item in the given
Provision for mustChangePassword . |
Pair<String,Attribute> |
prepareAttr(Provision provision,
Item item,
Any<?> any,
String password,
AccountGetter usernameAccountGetter,
AccountGetter passwordAccountGetter,
PlainAttrGetter plainAttrGetter)
Prepare attribute for sending to a connector instance.
|
Pair<String,Set<Attribute>> |
prepareAttrsFromAny(Any<?> any,
String password,
boolean changePwd,
Boolean enable,
Provision provision)
Prepare attributes for sending to a connector instance.
|
Set<Attribute> |
prepareAttrsFromLinkedAccount(User user,
LinkedAccount account,
String password,
boolean changePwd,
Provision provision)
Prepare attributes for sending to a connector instance.
|
Pair<String,Set<Attribute>> |
prepareAttrsFromRealm(Realm realm,
OrgUnit orgUnit)
Prepare attributes for sending to a connector instance.
|
void |
setIntValues(Item orgUnitItem,
Attribute attr,
RealmTO realmTO)
Set attribute values, according to the given
Item , to realm from attribute received from
connector. |
<T extends AnyTO> |
setIntValues(Item mapItem,
Attribute attr,
T anyTO)
Set attribute values, according to the given
Item , to any object from attribute received from
connector. |
Optional<String> getConnObjectKeyValue(Any<?> any, Provision provision)
any
- any objectprovision
- provision informationOptional<String> getConnObjectKeyValue(Realm realm, OrgUnit orgUnit)
realm
- realmorgUnit
- orgUnit informationPair<AttrSchemaType,List<PlainAttrValue>> getIntValues(Provision provision, Item mapItem, IntAttrName intAttrName, AttrSchemaType schemaType, Any<?> any, AccountGetter usernameAccountGetter, PlainAttrGetter plainAttrGetter)
Item
and any object.provision
- provision informationmapItem
- mapping itemintAttrName
- int attr nameschemaType
- schema typeany
- any objectusernameAccountGetter
- function to get actual account instance for usernameplainAttrGetter
- function to get PlainAttr instancesPair<String,Attribute> prepareAttr(Provision provision, Item item, Any<?> any, String password, AccountGetter usernameAccountGetter, AccountGetter passwordAccountGetter, PlainAttrGetter plainAttrGetter)
provision
- provision informationitem
- mapping itemany
- given any objectpassword
- clear-text passwordusernameAccountGetter
- function to get actual account instance for usernamepasswordAccountGetter
- function to get actual account instance for passwordplainAttrGetter
- function to get PlainAttr instancesPair<String,Set<Attribute>> prepareAttrsFromAny(Any<?> any, String password, boolean changePwd, Boolean enable, Provision provision)
any
- given any objectpassword
- clear-text passwordchangePwd
- whether password should be included for propagation attributes or notenable
- whether any object must be enabled or notprovision
- provision informationSet<Attribute> prepareAttrsFromLinkedAccount(User user, LinkedAccount account, String password, boolean changePwd, Provision provision)
user
- given useraccount
- linked accountpassword
- user's clear-text password, to use as default value in casechangePwd
- whether password should be included for propagation attributes or notprovision
- provision informationPair<String,Set<Attribute>> prepareAttrsFromRealm(Realm realm, OrgUnit orgUnit)
realm
- RealmorgUnit
- provision information<T extends AnyTO> void setIntValues(Item mapItem, Attribute attr, T anyTO)
Item
, to any object from attribute received from
connector.T
- any objectmapItem
- mapping itemattr
- attribute received from connectoranyTO
- any objectvoid setIntValues(Item orgUnitItem, Attribute attr, RealmTO realmTO)
Item
, to realm from attribute received from
connector.orgUnitItem
- mapping itemattr
- attribute received from connectorrealmTO
- realmCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.