Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Über die LdapSyncSource können Benutzerdaten aus einem LDAP-System oder dem lokalen Active Directory gelesen werden.

HINWEIS
Die Anfrage gibt nur Eigenschaften zurück, die auch im LDAP hinterlegt sind. Benutzen Sie die useValueIfEmpty-Regel, um sicherzustellen, dass alle Eigenschaften einen korrekten Standardwert enthalten oder nutzen Sie stattdessen die Option ignoreClaimIfEmpty, um leere Claims zu ignorieren.

...

Code Block
languagexml
<LdapSyncSource name="Custom LDAP" queryKey="OneOffixxIdentifier">
    <LdapServer>server</LdapServer>

   <LdapIsSsl>false</LdapIsSsl>
    <LdapOverwriteSslVerificationAndReturnTrue>false</LdapOverwriteSslVerificationAndReturnTrue>
 
  <LdapBaseDnPath>dnpath</LdapBaseDnPath>
 
  <LdapUser>username</LdapUser>
    <LdapPassword>{c[EppG4YXFJowewksCXa63tdk4+JnpZXRBGPBfajY+HpU=]}</LdapPassword>
 
  <LdapAuthType>Basic</LdapAuthType>
 
  <LdapFilter>filtervalue</LdapFilter>

   <LdapEncodingCodePage>65001</LdapEncodingCodePage>
    <LdapUseV3ProtocolVersion>false</LdapUseV3ProtocolVersion>
 
  <LdapPropertiesToLoad>cn,displayName,title,thumbnailPhoto</LdapPropertiesToLoad>
 
  <Claims>
        <Claim type="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" property="cn" />
        <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/displayName" property="displayName" />
   
    <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/title" property="title" />
 
      <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/userImage" property="thumbnailPhoto" />
    </Claims>
</LdapSyncSource>

...

Code Block
languagexml
<?xml version="1.0" encoding="utf-8" ?>
<LdapSyncSource name="Custom LDAP" queryKey="OneOffixxIdentifier">
 
  <LdapServer>server</LdapServer>
    <LdapIsSsl>false</LdapIsSsl>
    <LdapOverwriteSslVerificationAndReturnTrue>false</LdapOverwriteSslVerificationAndReturnTrue>
    <LdapBaseDnPath>dnpath</LdapBaseDnPath>
 
  <LdapUser>username</LdapUser>
    <LdapPassword>{c[EppG4YXFJowewksCXa63tdk4+JnpZXRBGPBfajY+HpU=]}</LdapPassword>
    <LdapAuthType>Basic</LdapAuthType>

   <LdapFilter>filtervalue</LdapFilter>
    <LdapEncodingCodePage>65001</LdapEncodingCodePage>
 
  <LdapUseV3ProtocolVersion>false</LdapUseV3ProtocolVersion>
 
  <LdapPropertiesToLoad>cn,displayName,title,thumbnailPhoto</LdapPropertiesToLoad>
    <ResultMapping>
        <Mapping>

           <Map Source="displayName" Target="PropertyX" />
  
     </Mapping>
 
  </ResultMapping>
 
  <Claims>
   
    <Claim type="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" property="cn" />
  
     <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/displayName" property="displayName" />
        <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/title" property="title" />
 
      <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/userImage" property="thumbnailPhoto" />
		    <Claim type="http://schema.oneoffixx.com/ws/2011/01/identity/claims/fromMapping" property="PropertyX" />
 
  </Claims>
</LdapSyncSource>

...