ldapentry.xml ÆÄÀÏÀº ÀÌÀü ¹öÀü WebSphere Commerce¿¡¼ »ç¿ëµÇ´Â ldapmap.xml ÆÄÀÏÀ» ´ëüÇÕ´Ï´Ù. ÀÌÀü¿¡ »ç¿ëµÇ´ø ldapmap.xml ÆÄÀÏÀÇ ÄÁÅÙÃ÷°¡ ldapentry.xml ÆÄÀÏ·Î Àü¼ÛµÇ¾ú´ÂÁö È®ÀÎÇϽʽÿÀ. ldapentry.xml ÆÄÀÏÀº °¡Àå °øÅëÀûÀ¸·Î »ç¿ëµÇ´Â Çʵ忡 ´ëÇÑ ±âº» ¸ÊÇÎÀ» Á¦°øÇÕ´Ï´Ù. ±âº» ½ºÅ°¸¶ ¸ÊÇÎÀÇ LDAP ¼Ó¼ºÀº ±âº» »ç¿ëÀÚ ¿ÀºêÁ§Æ® Ŭ·¡½º(person, organizationalPerson, inetOrgPerson ¹× ePerson)¿Í ±âº» Á¶Á÷ ¿£Æ¼Æ¼ ¿ÀºêÁ§Æ® Ŭ·¡½º(organization ¹× organizationalUnit)¸¦ ±âÁØÀ¸·Î ÇÕ´Ï´Ù. ÀÌ·¯ÇÑ objectclasses´Â WebShere Commerce¿¡¼ Áö¿øµÇ´Â ¸ðµç LDAP ¼¹ö¿¡ ´ëÇØ Á¤Àǵ˴ϴÙ. ±âº» ½ºÅ°¸¶ ¸ÊÇÎÀ» À̵é objectclasses ÀÌ»óÀ¸·Î È®ÀåÇÏ·Á¸é ½ºÅ°¸¶ È®ÀåÀÌ LDAP ¼¹ö¿¡¼ ¸ÕÀú ¼öÇàµÇµµ·Ï ÇϽʽÿÀ. ±×·¯¸é, »õ ¼Ó¼ºÀÌ ldapentry.xml ÆÄÀÏ¿¡ À§Ä¡µË´Ï´Ù. WebShere Commerce ³»¿¡¼ ³»ºÎÀûÀ¸·Î »ý¼ºµÈ Ű, USERS Å×À̺íÀÇ Lastsession°ú °°ÀÌ ÀÚÁÖ º¯°æµÇ´Â µ¥ÀÌÅÍ¿Í °°Àº ¼Ó¼ºÀº Á¸¼Ó½ÃŰÁö ¾ÊÀº °ÍÀÌ ÁÁ½À´Ï´Ù.
LDAP ¼Ó¼º¿¡ ´ëÇÑ Á¤º¸´Â www.as400.ibm.com/ldap/schema »çÀÌÆ®¸¦ ÂüÁ¶ÇϽʽÿÀ.
<?xml version="1.0"?>
<!DOCTYPE ldapentry SYSTEM "ldapentry.dtd">
<ldapentry>
<entry entryName="User">
<ldapsetting>
<ldaprdn rdnName="uid" keyAttrName="logonId" keyObjName="UserRegistry"/>
<ldapocs objClass="top;person;organizationalPerson;inetOrgPerson"/>
<ldapbase defaultBase="o=Default Organization,o=Root Organization" searchBase="o=Root Organization"/>
</ldapsetting>
<ldapmap>
<map>
<objectAttribute attrName="logonPassword"/>
<ldapAttribute name="userPassword" operation="replace" flow="wcsToLdap"/>
</map>
<map>
<objectAttribute attrName="lastName"/>
<objectAttribute attrName="firstName"/>
<objectSeparator attrSeparator="/"/>
<ldapAttribute name="cn" operation="replace"
flow="wcsToLdap"/>
</map>
<map>
<objectAttribute attrName="lastName"/>
<ldapAttribute name="sn" operation= "replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="firstName"/>
<ldapAttribute name="givenName" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="phone1"/>
<ldapAttribute name="homePhone" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="zipCode"/>
<ldapAttribute name="postalCode" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="address1"/>
<objectAttribute attrName="address2"/>
<objectAttribute attrName="address3"/>
<objectSeparator attrSeparator="/"/>
<ldapAttribute name="postalAddress" operation="replace" flow="bothDirections"/>
</map>
</ldapmap>
</entry>
<entry entryName="Organization">
<ldapsetting>
<ldaprdn rdnName="o" keyAttrName="orgEntityName" keyObjName="Organization"/>
<ldapocs objClass="top;organization"/>
<ldapbase defaultBase="o=Root Organization" searchBase="o=Root Organization"/>
</ldapsetting>
<ldapmap>
<map>
<objectAttribute attrName="businessCategory"/>
<ldapAttribute name="businessCategory" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="description"/>
<ldapAttribute name="description" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="address1"/>
<objectAttribute attrName="address2"/>
<objectAttribute attrName="address3"/>
<objectSeparator attrSeparator="/"/>
<ldapAttribute name="postalAddress" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="phone1"/>
<ldapAttribute name="telephoneNumber"
operation="replace" flow="bothDirections"/>
</map>
</ldapmap>
</entry>
<entry entryName="OrganizationalUnit">
<ldapsetting>
<ldaprdn rdnName="ou" keyAttrName="orgEntityName" keyObjName="Organization"/>
<ldapocs objClass="top;organizationalUnit"/>
<ldapbase defaultBase="o=Root Organization" searchBase="o=Root Organization"/>
</ldapsetting>
<ldapmap>
<map>
<objectAttribute attrName="businessCategory"/>
<ldapAttribute name="businessCategory" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="description"/>
<ldapAttribute name="description" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="address1"/>
<objectAttribute attrName="address2"/>
<objectAttribute attrName="address3"/>
<objectSeparator attrSeparator="/"/>
<ldapAttribute name="postalAddress" operation="replace" flow="bothDirections"/>
</map>
<map>
<objectAttribute attrName="phone1"/>
<ldapAttribute name="telephoneNumber" operation="replace" flow="bothDirections"/>
</map>
</ldapmap>
</entry>
</ldapentry>
ldapentry.xml ÆÄÀÏÀÇ Æ÷¸ËÀº ´ÙÀ½°ú °°½À´Ï´Ù.
![]() |