|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.ldap.schema.LdapSchemaMapping
public class LdapSchemaMapping
The authoritative description of the mapping between the LDAP schema and the connector schema.
| Field Summary | |
|---|---|
static org.identityconnectors.framework.common.objects.ObjectClass |
ANY_OBJECT_CLASS
|
| Constructor Summary | |
|---|---|
LdapSchemaMapping(LdapConnection conn)
|
|
| Method Summary | |
|---|---|
String |
create(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Name name,
Attributes initialAttrs)
|
org.identityconnectors.framework.common.objects.Attribute |
createAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String attrName,
LdapEntry entry,
boolean emptyWhenNotFound)
Returns an empty attribute instead of null when emptyWhenNotFound
is true. |
org.identityconnectors.framework.common.objects.Name |
createName(org.identityconnectors.framework.common.objects.ObjectClass oclass,
LdapEntry entry)
Creates a Name for the given entry. |
org.identityconnectors.framework.common.objects.Uid |
createUid(org.identityconnectors.framework.common.objects.ObjectClass oclass,
LdapEntry entry)
Creates a Uid for the given entry. |
org.identityconnectors.framework.common.objects.Uid |
createUid(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String entryDN)
|
Attribute |
encodeAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Attribute attr)
|
GuardedPasswordAttribute |
encodePassword(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Attribute attr)
|
Set<String> |
getEffectiveLdapClasses(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Returns the LDAP object class to which the given framework object class is mapped in a transitive manner, i.e., together with any superior object classes, any superiors thereof, etc.. |
String |
getEntryDN(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Name name)
|
String |
getLdapAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Attribute attr)
Returns the name of the LDAP attribute which corresponds to the given attribute of the given object class, or null. |
String |
getLdapAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String attrName,
boolean transfer)
|
Set<String> |
getLdapAttributes(org.identityconnectors.framework.common.objects.ObjectClass oclass,
Set<String> attrs,
boolean transfer)
Returns the names of the LDAP attributes which correspond to the given attribute names of the given object class. |
List<String> |
getLdapClasses(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Returns the LDAP object classes to which the given framework object class is mapped. |
String |
getLdapNameAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Returns the LDAP attribute which corresponds to Name for the
given object class. |
String |
getLdapUidAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Returns the LDAP attribute which corresponds to Uid. |
List<String> |
getUserNameLdapAttributes(org.identityconnectors.framework.common.objects.ObjectClass oclass)
|
void |
removeNonReadableAttributes(org.identityconnectors.framework.common.objects.ObjectClass oclass,
Set<String> attrNames)
|
String |
rename(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String entryDN,
org.identityconnectors.framework.common.objects.Name newName)
|
org.identityconnectors.framework.common.objects.Schema |
schema()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.identityconnectors.framework.common.objects.ObjectClass ANY_OBJECT_CLASS
| Constructor Detail |
|---|
public LdapSchemaMapping(LdapConnection conn)
| Method Detail |
|---|
public org.identityconnectors.framework.common.objects.Schema schema()
public List<String> getLdapClasses(org.identityconnectors.framework.common.objects.ObjectClass oclass)
public Set<String> getEffectiveLdapClasses(org.identityconnectors.framework.common.objects.ObjectClass oclass)
public List<String> getUserNameLdapAttributes(org.identityconnectors.framework.common.objects.ObjectClass oclass)
public String getLdapAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String attrName,
boolean transfer)
public String getLdapAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Attribute attr)
public Set<String> getLdapAttributes(org.identityconnectors.framework.common.objects.ObjectClass oclass,
Set<String> attrs,
boolean transfer)
transfer is true,
the binary option will be added to the attributes which need it.
public String getLdapUidAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Uid. Should
never return null.
public String getLdapNameAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Name for the
given object class. Might return null if, for example, the
object class was not configured explicitly in the configuration.
public org.identityconnectors.framework.common.objects.Uid createUid(org.identityconnectors.framework.common.objects.ObjectClass oclass,
LdapEntry entry)
Uid for the given entry. It is assumed that the entry
contains the attribute returned by getLdapUidAttribute(org.identityconnectors.framework.common.objects.ObjectClass).
public org.identityconnectors.framework.common.objects.Uid createUid(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String entryDN)
public org.identityconnectors.framework.common.objects.Name createName(org.identityconnectors.framework.common.objects.ObjectClass oclass,
LdapEntry entry)
Name for the given entry. It is assumed that the entry
contains the attribute returned by getLdapNameAttribute(org.identityconnectors.framework.common.objects.ObjectClass).
public org.identityconnectors.framework.common.objects.Attribute createAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String attrName,
LdapEntry entry,
boolean emptyWhenNotFound)
null when emptyWhenNotFound
is true.
public String create(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Name name,
Attributes initialAttrs)
public Attribute encodeAttribute(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Attribute attr)
public GuardedPasswordAttribute encodePassword(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Attribute attr)
public String getEntryDN(org.identityconnectors.framework.common.objects.ObjectClass oclass,
org.identityconnectors.framework.common.objects.Name name)
public String rename(org.identityconnectors.framework.common.objects.ObjectClass oclass,
String entryDN,
org.identityconnectors.framework.common.objects.Name newName)
public void removeNonReadableAttributes(org.identityconnectors.framework.common.objects.ObjectClass oclass,
Set<String> attrNames)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||