Changeset 3021
- Timestamp:
- 10/22/10 14:11:16
- Files:
-
- trunk/config/bwbuild/geronimo/carddav.options.xml (modified) (8 diffs)
- trunk/config/bwbuild/jboss-h2/carddav.options.xml (modified) (8 diffs)
- trunk/config/bwbuild/jboss-mysql/carddav.options.xml (modified) (8 diffs)
- trunk/config/bwbuild/jboss-postgresql/carddav.options.xml (modified) (1 diff)
- trunk/config/bwbuild/liferay5/carddav.options.xml (modified) (8 diffs)
- trunk/config/bwbuild/oracle10g/carddav.options.xml (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config/bwbuild/geronimo/carddav.options.xml
r2680 r3021 15 15 principal properties. That may mean maintaining a shadow 16 16 principal hierarchy in the local server. 17 18 Each element name below must be unique. 17 19 --> 18 20 <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 19 21 <pathPrefix>/principals</pathPrefix> 20 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>22 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 21 23 22 24 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 29 31 This requires us to explicitly name all attributes on fetch. 30 32 This element allows us to name EXTRA attributes from the default 31 list provided by the imple emntation.33 list provided by the implementation. 32 34 --> 33 35 <attrIds></attrIds> … … 45 47 <pathPrefix>/principals/users</pathPrefix> 46 48 <addressBook>true</addressBook> 47 48 <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className> 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> 66 67 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 49 68 50 69 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 76 95 <addressBook>true</addressBook> 77 96 78 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>97 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 79 98 80 99 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 102 121 <debug>true</debug> 103 122 </group-principal-dirHandler> 104 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> 155 156 <!-- handle the public (enterprise) people address book hierarchy --> 157 <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 158 <pathPrefix>/public/people</pathPrefix> 159 160 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 161 162 <!-- manufacture an owner for public entities --> 163 <ownerHref>/principals/users/admin</ownerHref> 164 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 165 <providerUrl>ldap://localhost:10389/</providerUrl> 166 <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 167 <queryLimit>1000</queryLimit> 168 169 <attrIds></attrIds> 170 171 <folderObjectClass>organizationalUnit</folderObjectClass> 172 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 173 <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 174 <folderIdAttr>ou</folderIdAttr> 175 <addressbookIdAttr>ou</addressbookIdAttr> 176 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 177 178 <authDn>uid=admin,ou=system</authDn> 179 <authPw>secret</authPw> 180 <debug>true</debug> 181 </public-people-dirHandler> 182 183 105 184 <!-- handle the user address book hierarchy --> 185 186 <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 187 <pathPrefix>/user</pathPrefix> 188 189 <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 190 191 <queryLimit>1000</queryLimit> <!-- unimplemented --> 192 193 <!-- This is the access set at the root. I'll do this as XML soon --> 194 <rootAccess>WONyA WANyFyS </rootAccess> 195 196 <!-- This is the owner of the user root and user home --> 197 <rootOwner>/principals/users/root</rootOwner> 198 199 <debug>true</debug> 200 </user-dirHandler> 201 202 <!-- handle the user address book hierarchy 203 How it might be done with ldap 106 204 <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 107 205 <pathPrefix>/user</pathPrefix> 108 <className>org.bedework.carddav.server.dirHandlers. LdapAddrBookDirHandler</className>206 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 109 207 110 208 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 130 228 <debug>true</debug> 131 229 </user-dirHandler> 230 --> 231 232 <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 233 <pathPrefix>/public/locations</pathPrefix> 234 235 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 236 237 <!-- manufacture an owner for public entities --> 238 <ownerHref>/principals/users/admin</ownerHref> 239 240 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 241 <providerUrl>ldap://localhost:10389/</providerUrl> 242 <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 243 244 <queryLimit>1000</queryLimit> 245 246 <attrIds></attrIds> 247 248 <cardKind>location</cardKind> 249 250 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 251 <addressbookIdAttr>ou</addressbookIdAttr> 252 253 <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass> 254 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 255 256 <principalIdAttr>calcaladruri</principalIdAttr> 257 258 <authDn>uid=admin,ou=system</authDn> 259 <authPw>secret</authPw> 260 261 <debug>true</debug> 262 </public-locations-dirHandler> 132 263 133 264 <!-- handle the public (enterprise) address book hierarchy --> 134 265 <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 135 266 <pathPrefix>/public</pathPrefix> 136 <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className> 137 138 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 139 <providerUrl>ldap://localhost:10389/</providerUrl> 140 141 <baseDn>ou=public,ou=addrbooks,dc=bedework,dc=org</baseDn> 267 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 268 269 <!-- manufacture an owner for public entities --> 270 <ownerHref>/principals/users/admin</ownerHref> 271 272 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 273 <providerUrl>ldap://localhost:10389/</providerUrl> 274 275 <baseDn>ou=public,dc=bedework,dc=org</baseDn> 142 276 143 277 <queryLimit>1000</queryLimit> … … 163 297 <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" > 164 298 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 299 165 300 <webaddrServiceURI>/find</webaddrServiceURI> 301 <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList> 166 302 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 167 303 168 304 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 169 305 170 <defaultAddressbook>address-book</defaultAddressbook> 171 306 <defaultAddressbook>addressbook</defaultAddressbook> 307 308 <!-- This will act as the root for the file system --> 172 309 <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 310 311 <!-- Needed for access calculations --> 312 <userHomeRoot>/user</userHomeRoot> 173 313 174 314 <principalRoot>/principals</principalRoot> … … 183 323 <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" > 184 324 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 325 185 326 <webaddrServiceURI>/find</webaddrServiceURI> 327 <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList> 186 328 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 187 329 188 330 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 189 331 190 <defaultAddressbook>address -book</defaultAddressbook>332 <defaultAddressbook>addressbook</defaultAddressbook> 191 333 192 334 <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 335 336 <!-- Needed for access calculations --> 337 <userHomeRoot>/user</userHomeRoot> 193 338 194 339 <principalRoot>/principals</principalRoot> trunk/config/bwbuild/jboss-h2/carddav.options.xml
r2877 r3021 15 15 principal properties. That may mean maintaining a shadow 16 16 principal hierarchy in the local server. 17 18 Each element name below must be unique. 17 19 --> 18 20 <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 19 21 <pathPrefix>/principals</pathPrefix> 20 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>22 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 21 23 22 24 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 29 31 This requires us to explicitly name all attributes on fetch. 30 32 This element allows us to name EXTRA attributes from the default 31 list provided by the imple emntation.33 list provided by the implementation. 32 34 --> 33 35 <attrIds></attrIds> … … 45 47 <pathPrefix>/principals/users</pathPrefix> 46 48 <addressBook>true</addressBook> 47 48 <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className> 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> 66 67 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 49 68 50 69 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 76 95 <addressBook>true</addressBook> 77 96 78 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>97 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 79 98 80 99 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 102 121 <debug>true</debug> 103 122 </group-principal-dirHandler> 104 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> 155 156 <!-- handle the public (enterprise) people address book hierarchy --> 157 <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 158 <pathPrefix>/public/people</pathPrefix> 159 160 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 161 162 <!-- manufacture an owner for public entities --> 163 <ownerHref>/principals/users/admin</ownerHref> 164 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 165 <providerUrl>ldap://localhost:10389/</providerUrl> 166 <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 167 <queryLimit>1000</queryLimit> 168 169 <attrIds></attrIds> 170 171 <folderObjectClass>organizationalUnit</folderObjectClass> 172 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 173 <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 174 <folderIdAttr>ou</folderIdAttr> 175 <addressbookIdAttr>ou</addressbookIdAttr> 176 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 177 178 <authDn>uid=admin,ou=system</authDn> 179 <authPw>secret</authPw> 180 <debug>true</debug> 181 </public-people-dirHandler> 182 183 105 184 <!-- handle the user address book hierarchy --> 185 186 <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 187 <pathPrefix>/user</pathPrefix> 188 189 <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 190 191 <queryLimit>1000</queryLimit> <!-- unimplemented --> 192 193 <!-- This is the access set at the root. I'll do this as XML soon --> 194 <rootAccess>WONyA WANyFyS </rootAccess> 195 196 <!-- This is the owner of the user root and user home --> 197 <rootOwner>/principals/users/root</rootOwner> 198 199 <debug>true</debug> 200 </user-dirHandler> 201 202 <!-- handle the user address book hierarchy 203 How it might be done with ldap 106 204 <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 107 205 <pathPrefix>/user</pathPrefix> 108 <className>org.bedework.carddav.server.dirHandlers. LdapAddrBookDirHandler</className>109 110 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 111 <providerUrl>ldap://localhost:10389/</providerUrl> 112 113 <baseDn>ou= addrbooks,ou=users,dc=bedework,dc=org</baseDn>206 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 207 208 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 209 <providerUrl>ldap://localhost:10389/</providerUrl> 210 211 <baseDn>ou=users,ou=addrbooks,dc=bedework,dc=org</baseDn> 114 212 115 213 <queryLimit>1000</queryLimit> … … 130 228 <debug>true</debug> 131 229 </user-dirHandler> 230 --> 231 232 <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 233 <pathPrefix>/public/locations</pathPrefix> 234 235 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 236 237 <!-- manufacture an owner for public entities --> 238 <ownerHref>/principals/users/admin</ownerHref> 239 240 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 241 <providerUrl>ldap://localhost:10389/</providerUrl> 242 <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 243 244 <queryLimit>1000</queryLimit> 245 246 <attrIds></attrIds> 247 248 <cardKind>location</cardKind> 249 250 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 251 <addressbookIdAttr>ou</addressbookIdAttr> 252 253 <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass> 254 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 255 256 <principalIdAttr>calcaladruri</principalIdAttr> 257 258 <authDn>uid=admin,ou=system</authDn> 259 <authPw>secret</authPw> 260 261 <debug>true</debug> 262 </public-locations-dirHandler> 132 263 133 264 <!-- handle the public (enterprise) address book hierarchy --> 134 265 <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 135 266 <pathPrefix>/public</pathPrefix> 136 <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className> 137 138 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 139 <providerUrl>ldap://localhost:10389/</providerUrl> 140 141 <baseDn>ou=ou=addrbooks,public,dc=bedework,dc=org</baseDn> 267 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 268 269 <!-- manufacture an owner for public entities --> 270 <ownerHref>/principals/users/admin</ownerHref> 271 272 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 273 <providerUrl>ldap://localhost:10389/</providerUrl> 274 275 <baseDn>ou=public,dc=bedework,dc=org</baseDn> 142 276 143 277 <queryLimit>1000</queryLimit> … … 163 297 <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" > 164 298 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 299 165 300 <webaddrServiceURI>/find</webaddrServiceURI> 301 <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList> 166 302 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 167 303 168 304 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 169 305 170 <defaultAddressbook>address-book</defaultAddressbook> 171 306 <defaultAddressbook>addressbook</defaultAddressbook> 307 308 <!-- This will act as the root for the file system --> 172 309 <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 310 311 <!-- Needed for access calculations --> 312 <userHomeRoot>/user</userHomeRoot> 173 313 174 314 <principalRoot>/principals</principalRoot> … … 183 323 <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" > 184 324 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 325 185 326 <webaddrServiceURI>/find</webaddrServiceURI> 327 <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList> 186 328 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 187 329 188 330 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 189 331 190 <defaultAddressbook>address -book</defaultAddressbook>332 <defaultAddressbook>addressbook</defaultAddressbook> 191 333 192 334 <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 335 336 <!-- Needed for access calculations --> 337 <userHomeRoot>/user</userHomeRoot> 193 338 194 339 <principalRoot>/principals</principalRoot> trunk/config/bwbuild/jboss-mysql/carddav.options.xml
r2927 r3021 20 20 <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 21 21 <pathPrefix>/principals</pathPrefix> 22 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>22 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 23 23 24 24 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 47 47 <pathPrefix>/principals/users</pathPrefix> 48 48 <addressBook>true</addressBook> 49 50 <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className> 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> 66 67 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 51 68 52 69 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 78 95 <addressBook>true</addressBook> 79 96 80 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>97 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 81 98 82 99 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 104 121 <debug>true</debug> 105 122 </group-principal-dirHandler> 106 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> 155 156 <!-- handle the public (enterprise) people address book hierarchy --> 157 <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 158 <pathPrefix>/public/people</pathPrefix> 159 160 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 161 162 <!-- manufacture an owner for public entities --> 163 <ownerHref>/principals/users/admin</ownerHref> 164 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 165 <providerUrl>ldap://localhost:10389/</providerUrl> 166 <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 167 <queryLimit>1000</queryLimit> 168 169 <attrIds></attrIds> 170 171 <folderObjectClass>organizationalUnit</folderObjectClass> 172 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 173 <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 174 <folderIdAttr>ou</folderIdAttr> 175 <addressbookIdAttr>ou</addressbookIdAttr> 176 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 177 178 <authDn>uid=admin,ou=system</authDn> 179 <authPw>secret</authPw> 180 <debug>true</debug> 181 </public-people-dirHandler> 182 183 107 184 <!-- handle the user address book hierarchy --> 185 186 <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 187 <pathPrefix>/user</pathPrefix> 188 189 <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 190 191 <queryLimit>1000</queryLimit> <!-- unimplemented --> 192 193 <!-- This is the access set at the root. I'll do this as XML soon --> 194 <rootAccess>WONyA WANyFyS </rootAccess> 195 196 <!-- This is the owner of the user root and user home --> 197 <rootOwner>/principals/users/root</rootOwner> 198 199 <debug>true</debug> 200 </user-dirHandler> 201 202 <!-- handle the user address book hierarchy 203 How it might be done with ldap 108 204 <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 109 205 <pathPrefix>/user</pathPrefix> 110 <className>org.bedework.carddav.server.dirHandlers. LdapAddrBookDirHandler</className>206 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 111 207 112 208 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 132 228 <debug>true</debug> 133 229 </user-dirHandler> 134 230 --> 231 135 232 <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 136 233 <pathPrefix>/public/locations</pathPrefix> 137 234 138 <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className> 139 140 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 141 <providerUrl>ldap://localhost:10389/</providerUrl> 142 <baseDn>ou=locations,dc=bedework,dc=org</baseDn> 235 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 236 237 <!-- manufacture an owner for public entities --> 238 <ownerHref>/principals/users/admin</ownerHref> 239 240 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 241 <providerUrl>ldap://localhost:10389/</providerUrl> 242 <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 143 243 144 244 <queryLimit>1000</queryLimit> … … 165 265 <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 166 266 <pathPrefix>/public</pathPrefix> 167 <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className> 168 169 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 170 <providerUrl>ldap://localhost:10389/</providerUrl> 171 172 <baseDn>ou=public,ou=addrbooks,dc=bedework,dc=org</baseDn> 267 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 268 269 <!-- manufacture an owner for public entities --> 270 <ownerHref>/principals/users/admin</ownerHref> 271 272 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 273 <providerUrl>ldap://localhost:10389/</providerUrl> 274 275 <baseDn>ou=public,dc=bedework,dc=org</baseDn> 173 276 174 277 <queryLimit>1000</queryLimit> … … 201 304 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 202 305 203 <defaultAddressbook>address-book</defaultAddressbook> 204 306 <defaultAddressbook>addressbook</defaultAddressbook> 307 308 <!-- This will act as the root for the file system --> 205 309 <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 310 311 <!-- Needed for access calculations --> 312 <userHomeRoot>/user</userHomeRoot> 206 313 207 314 <principalRoot>/principals</principalRoot> … … 223 330 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 224 331 225 <defaultAddressbook>address -book</defaultAddressbook>332 <defaultAddressbook>addressbook</defaultAddressbook> 226 333 227 334 <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 335 336 <!-- Needed for access calculations --> 337 <userHomeRoot>/user</userHomeRoot> 228 338 229 339 <principalRoot>/principals</principalRoot> trunk/config/bwbuild/jboss-postgresql/carddav.options.xml
r2955 r3021 153 153 <debug>true</debug> 154 154 </location-principal-dirHandler> 155 156 <!-- handle the public (enterprise) people address book hierarchy --> 157 <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 158 <pathPrefix>/public/people</pathPrefix> 159 160 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 161 162 <!-- manufacture an owner for public entities --> 163 <ownerHref>/principals/users/admin</ownerHref> 164 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 165 <providerUrl>ldap://localhost:10389/</providerUrl> 166 <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 167 <queryLimit>1000</queryLimit> 168 169 <attrIds></attrIds> 170 171 <folderObjectClass>organizationalUnit</folderObjectClass> 172 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 173 <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 174 <folderIdAttr>ou</folderIdAttr> 175 <addressbookIdAttr>ou</addressbookIdAttr> 176 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 177 178 <authDn>uid=admin,ou=system</authDn> 179 <authPw>secret</authPw> 180 <debug>true</debug> 181 </public-people-dirHandler> 182 155 183 156 184 <!-- handle the user address book hierarchy --> trunk/config/bwbuild/liferay5/carddav.options.xml
r2439 r3021 15 15 principal properties. That may mean maintaining a shadow 16 16 principal hierarchy in the local server. 17 18 Each element name below must be unique. 17 19 --> 18 20 <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 19 21 <pathPrefix>/principals</pathPrefix> 20 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>22 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 21 23 22 24 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 29 31 This requires us to explicitly name all attributes on fetch. 30 32 This element allows us to name EXTRA attributes from the default 31 list provided by the imple emntation.33 list provided by the implementation. 32 34 --> 33 35 <attrIds></attrIds> … … 45 47 <pathPrefix>/principals/users</pathPrefix> 46 48 <addressBook>true</addressBook> 47 48 <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className> 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> 66 67 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 49 68 50 69 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 76 95 <addressBook>true</addressBook> 77 96 78 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>97 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 79 98 80 99 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 102 121 <debug>true</debug> 103 122 </group-principal-dirHandler> 104 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> 155 156 <!-- handle the public (enterprise) people address book hierarchy --> 157 <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 158 <pathPrefix>/public/people</pathPrefix> 159 160 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 161 162 <!-- manufacture an owner for public entities --> 163 <ownerHref>/principals/users/admin</ownerHref> 164 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 165 <providerUrl>ldap://localhost:10389/</providerUrl> 166 <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 167 <queryLimit>1000</queryLimit> 168 169 <attrIds></attrIds> 170 171 <folderObjectClass>organizationalUnit</folderObjectClass> 172 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 173 <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 174 <folderIdAttr>ou</folderIdAttr> 175 <addressbookIdAttr>ou</addressbookIdAttr> 176 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 177 178 <authDn>uid=admin,ou=system</authDn> 179 <authPw>secret</authPw> 180 <debug>true</debug> 181 </public-people-dirHandler> 182 183 105 184 <!-- handle the user address book hierarchy --> 185 186 <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 187 <pathPrefix>/user</pathPrefix> 188 189 <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 190 191 <queryLimit>1000</queryLimit> <!-- unimplemented --> 192 193 <!-- This is the access set at the root. I'll do this as XML soon --> 194 <rootAccess>WONyA WANyFyS </rootAccess> 195 196 <!-- This is the owner of the user root and user home --> 197 <rootOwner>/principals/users/root</rootOwner> 198 199 <debug>true</debug> 200 </user-dirHandler> 201 202 <!-- handle the user address book hierarchy 203 How it might be done with ldap 106 204 <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 107 205 <pathPrefix>/user</pathPrefix> 108 <className>org.bedework.carddav.server.dirHandlers. LdapAddrBookDirHandler</className>206 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 109 207 110 208 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 130 228 <debug>true</debug> 131 229 </user-dirHandler> 230 --> 231 232 <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 233 <pathPrefix>/public/locations</pathPrefix> 234 235 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 236 237 <!-- manufacture an owner for public entities --> 238 <ownerHref>/principals/users/admin</ownerHref> 239 240 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 241 <providerUrl>ldap://localhost:10389/</providerUrl> 242 <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 243 244 <queryLimit>1000</queryLimit> 245 246 <attrIds></attrIds> 247 248 <cardKind>location</cardKind> 249 250 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 251 <addressbookIdAttr>ou</addressbookIdAttr> 252 253 <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass> 254 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 255 256 <principalIdAttr>calcaladruri</principalIdAttr> 257 258 <authDn>uid=admin,ou=system</authDn> 259 <authPw>secret</authPw> 260 261 <debug>true</debug> 262 </public-locations-dirHandler> 132 263 133 264 <!-- handle the public (enterprise) address book hierarchy --> 134 265 <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 135 266 <pathPrefix>/public</pathPrefix> 136 <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className> 137 138 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 139 <providerUrl>ldap://localhost:10389/</providerUrl> 140 141 <baseDn>ou=public,ou=addrbooks,dc=bedework,dc=org</baseDn> 267 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 268 269 <!-- manufacture an owner for public entities --> 270 <ownerHref>/principals/users/admin</ownerHref> 271 272 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 273 <providerUrl>ldap://localhost:10389/</providerUrl> 274 275 <baseDn>ou=public,dc=bedework,dc=org</baseDn> 142 276 143 277 <queryLimit>1000</queryLimit> … … 163 297 <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" > 164 298 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 299 165 300 <webaddrServiceURI>/find</webaddrServiceURI> 301 <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList> 166 302 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 167 303 168 304 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 169 305 170 <defaultAddressbook>address-book</defaultAddressbook> 171 306 <defaultAddressbook>addressbook</defaultAddressbook> 307 308 <!-- This will act as the root for the file system --> 172 309 <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 310 311 <!-- Needed for access calculations --> 312 <userHomeRoot>/user</userHomeRoot> 173 313 174 314 <principalRoot>/principals</principalRoot> … … 183 323 <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" > 184 324 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 325 185 326 <webaddrServiceURI>/find</webaddrServiceURI> 327 <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList> 186 328 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 187 329 188 330 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 189 331 190 <defaultAddressbook>address -book</defaultAddressbook>332 <defaultAddressbook>addressbook</defaultAddressbook> 191 333 192 334 <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 335 336 <!-- Needed for access calculations --> 337 <userHomeRoot>/user</userHomeRoot> 193 338 194 339 <principalRoot>/principals</principalRoot> trunk/config/bwbuild/oracle10g/carddav.options.xml
r2439 r3021 15 15 principal properties. That may mean maintaining a shadow 16 16 principal hierarchy in the local server. 17 18 Each element name below must be unique. 17 19 --> 18 20 <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 19 21 <pathPrefix>/principals</pathPrefix> 20 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>22 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 21 23 22 24 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 29 31 This requires us to explicitly name all attributes on fetch. 30 32 This element allows us to name EXTRA attributes from the default 31 list provided by the imple emntation.33 list provided by the implementation. 32 34 --> 33 35 <attrIds></attrIds> … … 45 47 <pathPrefix>/principals/users</pathPrefix> 46 48 <addressBook>true</addressBook> 47 48 <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className> 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> 66 67 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 49 68 50 69 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 76 95 <addressBook>true</addressBook> 77 96 78 <className>org.bedework.carddav.server.dirHandlers. LdapPrincipalDirHandler</className>97 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 79 98 80 99 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 102 121 <debug>true</debug> 103 122 </group-principal-dirHandler> 104 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> 155 156 <!-- handle the public (enterprise) people address book hierarchy --> 157 <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 158 <pathPrefix>/public/people</pathPrefix> 159 160 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 161 162 <!-- manufacture an owner for public entities --> 163 <ownerHref>/principals/users/admin</ownerHref> 164 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 165 <providerUrl>ldap://localhost:10389/</providerUrl> 166 <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 167 <queryLimit>1000</queryLimit> 168 169 <attrIds></attrIds> 170 171 <folderObjectClass>organizationalUnit</folderObjectClass> 172 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 173 <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 174 <folderIdAttr>ou</folderIdAttr> 175 <addressbookIdAttr>ou</addressbookIdAttr> 176 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 177 178 <authDn>uid=admin,ou=system</authDn> 179 <authPw>secret</authPw> 180 <debug>true</debug> 181 </public-people-dirHandler> 182 183 105 184 <!-- handle the user address book hierarchy --> 185 186 <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 187 <pathPrefix>/user</pathPrefix> 188 189 <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 190 191 <queryLimit>1000</queryLimit> <!-- unimplemented --> 192 193 <!-- This is the access set at the root. I'll do this as XML soon --> 194 <rootAccess>WONyA WANyFyS </rootAccess> 195 196 <!-- This is the owner of the user root and user home --> 197 <rootOwner>/principals/users/root</rootOwner> 198 199 <debug>true</debug> 200 </user-dirHandler> 201 202 <!-- handle the user address book hierarchy 203 How it might be done with ldap 106 204 <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 107 205 <pathPrefix>/user</pathPrefix> 108 <className>org.bedework.carddav.server.dirHandlers. LdapAddrBookDirHandler</className>206 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 109 207 110 208 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> … … 130 228 <debug>true</debug> 131 229 </user-dirHandler> 230 --> 231 232 <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 233 <pathPrefix>/public/locations</pathPrefix> 234 235 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 236 237 <!-- manufacture an owner for public entities --> 238 <ownerHref>/principals/users/admin</ownerHref> 239 240 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 241 <providerUrl>ldap://localhost:10389/</providerUrl> 242 <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 243 244 <queryLimit>1000</queryLimit> 245 246 <attrIds></attrIds> 247 248 <cardKind>location</cardKind> 249 250 <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 251 <addressbookIdAttr>ou</addressbookIdAttr> 252 253 <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass> 254 <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 255 256 <principalIdAttr>calcaladruri</principalIdAttr> 257 258 <authDn>uid=admin,ou=system</authDn> 259 <authPw>secret</authPw> 260 261 <debug>true</debug> 262 </public-locations-dirHandler> 132 263 133 264 <!-- handle the public (enterprise) address book hierarchy --> 134 265 <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 135 266 <pathPrefix>/public</pathPrefix> 136 <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className> 137 138 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 139 <providerUrl>ldap://localhost:10389/</providerUrl> 140 141 <baseDn>ou=public,ou=addrbooks,dc=bedework,dc=org</baseDn> 267 <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 268 269 <!-- manufacture an owner for public entities --> 270 <ownerHref>/principals/users/admin</ownerHref> 271 272 <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 273 <providerUrl>ldap://localhost:10389/</providerUrl> 274 275 <baseDn>ou=public,dc=bedework,dc=org</baseDn> 142 276 143 277 <queryLimit>1000</queryLimit> … … 163 297 <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" > 164 298 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 299 165 300 <webaddrServiceURI>/find</webaddrServiceURI> 301 <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList> 166 302 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 167 303 168 304 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 169 305 170 <defaultAddressbook>address-book</defaultAddressbook> 171 306 <defaultAddressbook>addressbook</defaultAddressbook> 307 308 <!-- This will act as the root for the file system --> 172 309 <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 310 311 <!-- Needed for access calculations --> 312 <userHomeRoot>/user</userHomeRoot> 173 313 174 314 <principalRoot>/principals</principalRoot> … … 183 323 <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" > 184 324 <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 325 185 326 <webaddrServiceURI>/find</webaddrServiceURI> 327 <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList> 186 328 <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 187 329 188 330 <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 189 331 190 <defaultAddressbook>address -book</defaultAddressbook>332 <defaultAddressbook>addressbook</defaultAddressbook> 191 333 192 334 <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 335 336 <!-- Needed for access calculations --> 337 <userHomeRoot>/user</userHomeRoot> 193 338 194 339 <principalRoot>/principals</principalRoot>
