| | 49 | |
|---|
| | 50 | <!-- The cardPathPrefix is used to manufacture a path to a card for |
|---|
| | 51 | the principal. If it is set we take the path |
|---|
| | 52 | |
|---|
| | 53 | <principal-root>/<account> |
|---|
| | 54 | |
|---|
| | 55 | and transform it to |
|---|
| | 56 | |
|---|
| | 57 | <cardPathPrefix>/<account>.vcf |
|---|
| | 58 | |
|---|
| | 59 | If it is not set we try the cardPathPrefixes supplied globally. |
|---|
| | 60 | If they are not supplied we don't give any path. The client will |
|---|
| | 61 | have to fall back to a query. |
|---|
| | 62 | --> |
|---|
| | 63 | <cardPathPrefix>/public/people</cardPathPrefix> |
|---|
| | 64 | |
|---|
| | 65 | <cardPathPrefixes>/public/people,loc_:/public/locations</cardPathPrefixes> |
|---|
| | 123 | |
|---|
| | 124 | <location-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > |
|---|
| | 125 | <pathPrefix>/principals/locations</pathPrefix> |
|---|
| | 126 | <addressBook>true</addressBook> |
|---|
| | 127 | <cardPathPrefix>/public/locations</cardPathPrefix> |
|---|
| | 128 | |
|---|
| | 129 | <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> |
|---|
| | 130 | |
|---|
| | 131 | <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> |
|---|
| | 132 | <providerUrl>ldap://localhost:10389/</providerUrl> |
|---|
| | 133 | |
|---|
| | 134 | <baseDn>ou=locations,dc=bedework,dc=org</baseDn> |
|---|
| | 135 | |
|---|
| | 136 | <queryLimit>1000</queryLimit> |
|---|
| | 137 | |
|---|
| | 138 | <attrIds></attrIds> |
|---|
| | 139 | |
|---|
| | 140 | <cardKind>location</cardKind> |
|---|
| | 141 | |
|---|
| | 142 | <addressbookObjectClass>organizationalUnit</addressbookObjectClass> |
|---|
| | 143 | <addressbookIdAttr>ou</addressbookIdAttr> |
|---|
| | 144 | |
|---|
| | 145 | <addressbookEntryObjectClass>groupOfUniqueNames</addressbookEntryObjectClass> |
|---|
| | 146 | <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> |
|---|
| | 147 | |
|---|
| | 148 | <principalIdAttr>cn</principalIdAttr> |
|---|
| | 149 | |
|---|
| | 150 | <authDn>uid=admin,ou=system</authDn> |
|---|
| | 151 | <authPw>secret</authPw> |
|---|
| | 152 | |
|---|
| | 153 | <debug>true</debug> |
|---|
| | 154 | </location-principal-dirHandler> |
|---|