Changeset 3186

Show
Ignore:
Timestamp:
02/18/11 10:17:09
Author:
douglm
Message:

Fix privkeys/pubkeys locations.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.7/config/bwbuild/default/cal.options.xml

    r3179 r3186  
    4444 
    4545        <!-- Public/private key locations --> 
    46         <privKeys>@DATA_DIR@/data/bedework/privkeys</privKeys> 
    47         <pubKeys>@DATA_DIR@/data/bedework/pubkeys</pubKeys> 
     46        <privKeys>@DATA_DIR@/privkeys</privKeys> 
     47        <pubKeys>@DATA_DIR@/pubkeys</pubKeys> 
    4848 
    4949        <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" > 
  • releases/bedework-3.7/config/bwbuild/jboss-h2/cal.options.xml

    r3179 r3186  
    4444 
    4545        <!-- Public/private key locations --> 
    46         <privKeys>@DATA_DIR@/data/bedework/privkeys</privKeys> 
    47         <pubKeys>@DATA_DIR@/data/bedework/pubkeys</pubKeys> 
     46        <privKeys>@DATA_DIR@/privkeys</privKeys> 
     47        <pubKeys>@DATA_DIR@/pubkeys</pubKeys> 
    4848 
    4949        <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" > 
  • releases/bedework-3.7/config/bwbuild/jboss-mysql/cal.options.xml

    r3179 r3186  
    4444 
    4545        <!-- Public/private key locations --> 
    46         <privKeys>@DATA_DIR@/data/bedework/privkeys</privKeys> 
    47         <pubKeys>@DATA_DIR@/data/bedework/pubkeys</pubKeys> 
     46        <privKeys>@DATA_DIR@/privkeys</privKeys> 
     47        <pubKeys>@DATA_DIR@/pubkeys</pubKeys> 
    4848 
    4949        <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" > 
  • releases/bedework-3.7/config/bwbuild/jboss-postgresql/cal.options.xml

    r3179 r3186  
    4444 
    4545        <!-- Public/private key locations --> 
    46         <privKeys>@DATA_DIR@/data/bedework/privkeys</privKeys> 
    47         <pubKeys>@DATA_DIR@/data/bedework/pubkeys</pubKeys> 
     46        <privKeys>@DATA_DIR@/privkeys</privKeys> 
     47        <pubKeys>@DATA_DIR@/pubkeys</pubKeys> 
    4848 
    4949        <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" > 
  • releases/bedework-3.7/config/bwbuild/liferay5/cal.options.xml

    r2444 r3186  
     1<?xml version="1.0"?> 
     2 
    13<!-- This provides run time options for each of the configured applications. 
    24  --> 
     
    57    <bedework> 
    68      <global> 
    7         <version>3.6</version> 
     9        <version>3.7</version> 
    810 
    911        <!-- This property is how the running system finds the system settings. 
     
    3032 
    3133        <!-- CardDAV server locations --> 
    32         <publicCardDAVUri>http://localhost:8080/carddav</publicCardDAVUri> 
    33         <personalCardDAVUri>http://localhost:8080/ucarddav</personalCardDAVUri> 
     34        <publicCardDAVHost>localhost</publicCardDAVHost> 
     35        <publicCardDAVPort>8080</publicCardDAVPort> 
     36        <publicCardDAVContext>/pubcarddav</publicCardDAVContext> 
     37         
     38        <personalCardDAVHost>localhost</personalCardDAVHost> 
     39        <personalCardDAVPort>8080</personalCardDAVPort> 
     40        <personalCardDAVContext>/ucarddav</personalCardDAVContext> 
    3441 
    3542        <!-- Timezone server locations --> 
    3643        <timezonesUri>http://localhost:8080/tzsvr</timezonesUri> 
    3744 
    38         <systemRoots  classname="org.bedework.calfacade.configs.SystemRoots" > 
     45        <!-- Public/private key locations --> 
     46        <privKeys>@DATA_DIR@/privkeys</privKeys> 
     47        <pubKeys>@DATA_DIR@/pubkeys</pubKeys> 
     48 
     49        <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" > 
    3950          <principalRoot>/principals</principalRoot> 
    4051          <userPrincipalRoot>/principals/users</userPrincipalRoot> 
     
    4657          <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot> 
    4758        </systemRoots> 
     59 
     60        <!-- To enable mapping of calendar addresses e.g. mailto:fred@example.org 
     61             on to principals we need to either do a directory lookup or have 
     62             some sort of pattern map.  
     63              
     64             Setting a caladdr prefix enables pattern mapping. By default  
     65             calendar addresses are users --> 
     66              
     67          <!--  
     68        <caladdrPrefixes classname="org.bedework.calfacade.configs.CalAddrPrefixes"> 
     69          <location>loc_</location> 
     70        </caladdrPrefixes>      
     71           --> 
     72            
     73        <!-- =============================================================== 
     74                         CardDAV directory handlers 
     75             =============================================================== --> 
     76 
     77        <dirhandlers> 
     78          <!-- handle the principal hierarchy. 
     79               This could be a read-only interface if we don't intend to allow 
     80               modification of the enterprise directory. 
     81 
     82               However, we may need to merge in subsidiary information to handle 
     83               principal properties. That may mean maintaining a shadow 
     84               principal hierarchy in the local server. 
     85                
     86               Each element name below must be unique. 
     87            --> 
     88          <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     89            <pathPrefix>/principals</pathPrefix> 
     90            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     91 
     92            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     93            <providerUrl>ldap://localhost:10389/</providerUrl> 
     94            <baseDn>dc=bedework, dc=org</baseDn> 
     95 
     96            <queryLimit>1000</queryLimit> 
     97 
     98            <!-- We need to get operational attributes from the directory. 
     99               This requires us to explicitly name all attributes on fetch. 
     100               This element allows us to name EXTRA attributes from the default 
     101               list provided by the implementation. 
     102              --> 
     103            <attrIds></attrIds> 
     104 
     105            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     106            <addressbookIdAttr>ou</addressbookIdAttr> 
     107 
     108            <authDn>uid=admin,ou=system</authDn> 
     109            <authPw>secret</authPw> 
     110 
     111            <debug>true</debug> 
     112          </principal-dirHandler> 
     113 
     114          <user-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     115            <pathPrefix>/principals/users</pathPrefix> 
     116            <addressBook>true</addressBook> 
     117             
     118            <!-- The cardPathPrefix is used to manufacture a path to a card for  
     119                 the principal. If it is set we take the path 
     120                  
     121                 <principal-root>/<account> 
     122                  
     123                 and transform it to  
     124                  
     125                 <cardPathPrefix>/<account>.vcf 
     126                  
     127                 If it is not set we try the cardPathPrefixes supplied globally. 
     128                 If they are not supplied we don't give any path. The client will 
     129                 have to fall back to a query. 
     130                 --> 
     131            <cardPathPrefix>/public/people</cardPathPrefix> 
     132 
     133            <cardPathPrefixes>/public/people,loc_:/public/locations</cardPathPrefixes> 
     134 
     135            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     136 
     137            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     138            <providerUrl>ldap://localhost:10389/</providerUrl> 
     139            <baseDn>ou=accounts,dc=bedework,dc=org</baseDn> 
     140 
     141            <queryLimit>1000</queryLimit> 
     142 
     143            <attrIds></attrIds> 
     144 
     145            <cardKind>individual</cardKind> 
     146 
     147            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     148            <addressbookIdAttr>ou</addressbookIdAttr> 
     149 
     150            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     151            <addressbookEntryIdAttr>uid</addressbookEntryIdAttr> 
     152 
     153            <principalIdAttr>uid</principalIdAttr> 
     154 
     155            <authDn>uid=admin,ou=system</authDn> 
     156            <authPw>secret</authPw> 
     157 
     158            <debug>true</debug> 
     159          </user-principal-dirHandler> 
     160 
     161          <group-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     162            <pathPrefix>/principals/groups</pathPrefix> 
     163            <addressBook>true</addressBook> 
     164 
     165            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     166 
     167            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     168            <providerUrl>ldap://localhost:10389/</providerUrl> 
     169 
     170            <baseDn>ou=groups,dc=bedework,dc=org</baseDn> 
     171 
     172            <queryLimit>1000</queryLimit> 
     173 
     174            <attrIds></attrIds> 
     175 
     176            <cardKind>group</cardKind> 
     177 
     178            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     179            <addressbookIdAttr>ou</addressbookIdAttr> 
     180 
     181            <addressbookEntryObjectClass>groupOfUniqueNames</addressbookEntryObjectClass> 
     182            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     183 
     184            <principalIdAttr>cn</principalIdAttr> 
     185 
     186            <authDn>uid=admin,ou=system</authDn> 
     187            <authPw>secret</authPw> 
     188 
     189            <debug>true</debug> 
     190          </group-principal-dirHandler> 
     191           
     192          <location-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     193            <pathPrefix>/principals/locations</pathPrefix> 
     194            <addressBook>true</addressBook> 
     195            <cardPathPrefix>/public/locations</cardPathPrefix> 
     196 
     197            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     198 
     199            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     200            <providerUrl>ldap://localhost:10389/</providerUrl> 
     201 
     202            <baseDn>ou=locations,dc=bedework,dc=org</baseDn> 
     203 
     204            <queryLimit>1000</queryLimit> 
     205 
     206            <attrIds></attrIds> 
     207 
     208            <cardKind>location</cardKind> 
     209 
     210            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     211            <addressbookIdAttr>ou</addressbookIdAttr> 
     212 
     213            <addressbookEntryObjectClass>groupOfUniqueNames</addressbookEntryObjectClass> 
     214            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     215 
     216            <principalIdAttr>cn</principalIdAttr> 
     217 
     218            <authDn>uid=admin,ou=system</authDn> 
     219            <authPw>secret</authPw> 
     220 
     221            <debug>true</debug> 
     222          </location-principal-dirHandler> 
     223             
     224          <!-- handle the public (enterprise) people address book hierarchy --> 
     225          <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     226            <pathPrefix>/public/people</pathPrefix> 
     227             
     228            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     229             
     230            <!-- manufacture an owner for public entities --> 
     231            <ownerHref>/principals/users/admin</ownerHref> 
     232            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     233            <providerUrl>ldap://localhost:10389/</providerUrl> 
     234            <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 
     235            <queryLimit>1000</queryLimit> 
     236             
     237            <attrIds></attrIds> 
     238             
     239            <folderObjectClass>organizationalUnit</folderObjectClass> 
     240            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     241            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     242            <folderIdAttr>ou</folderIdAttr> 
     243            <addressbookIdAttr>ou</addressbookIdAttr> 
     244            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     245             
     246            <authDn>uid=admin,ou=system</authDn> 
     247            <authPw>secret</authPw> 
     248            <debug>true</debug> 
     249          </public-people-dirHandler> 
     250           
     251           
     252          <!-- handle the user address book hierarchy --> 
     253           
     254          <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 
     255            <pathPrefix>/user</pathPrefix> 
     256             
     257            <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 
     258 
     259            <queryLimit>1000</queryLimit> <!-- unimplemented --> 
     260           
     261            <!-- This is the access set at the root. I'll do this as XML soon --> 
     262            <rootAccess>WONyA WANyFyS </rootAccess> 
     263           
     264            <!-- This is the owner of the user root and user home --> 
     265            <rootOwner>/principals/users/root</rootOwner> 
     266             
     267            <debug>true</debug> 
     268          </user-dirHandler> 
     269 
     270          <!-- handle the user address book hierarchy 
     271               How it might be done with ldap  
     272          <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     273            <pathPrefix>/user</pathPrefix> 
     274            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     275 
     276            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     277            <providerUrl>ldap://localhost:10389/</providerUrl> 
     278 
     279            <baseDn>ou=users,ou=addrbooks,dc=bedework,dc=org</baseDn> 
     280 
     281            <queryLimit>1000</queryLimit> 
     282 
     283            <attrIds></attrIds> 
     284 
     285            <folderObjectClass>organizationalUnit</folderObjectClass> 
     286            <folderIdAttr>ou</folderIdAttr> 
     287 
     288            <addressbookObjectClass>addressBook</addressbookObjectClass> 
     289            <addressbookIdAttr>ou</addressbookIdAttr> 
     290 
     291            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     292            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     293 
     294            <authDn>uid=admin,ou=system</authDn> 
     295            <authPw>secret</authPw> 
     296            <debug>true</debug> 
     297          </user-dirHandler> 
     298          --> 
     299  
     300          <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     301            <pathPrefix>/public/locations</pathPrefix> 
     302 
     303            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     304 
     305            <!-- manufacture an owner for public entities --> 
     306            <ownerHref>/principals/users/admin</ownerHref> 
     307 
     308            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     309            <providerUrl>ldap://localhost:10389/</providerUrl> 
     310            <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 
     311 
     312            <queryLimit>1000</queryLimit> 
     313 
     314            <attrIds></attrIds> 
     315 
     316            <cardKind>location</cardKind> 
     317 
     318            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     319            <addressbookIdAttr>ou</addressbookIdAttr> 
     320 
     321            <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass> 
     322            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     323 
     324            <principalIdAttr>calcaladruri</principalIdAttr> 
     325 
     326            <authDn>uid=admin,ou=system</authDn> 
     327            <authPw>secret</authPw> 
     328 
     329            <debug>true</debug> 
     330          </public-locations-dirHandler> 
     331 
     332          <!-- handle the public (enterprise) address book hierarchy --> 
     333          <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     334            <pathPrefix>/public</pathPrefix> 
     335            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     336 
     337            <!-- manufacture an owner for public entities --> 
     338            <ownerHref>/principals/users/admin</ownerHref> 
     339 
     340            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     341            <providerUrl>ldap://localhost:10389/</providerUrl> 
     342 
     343            <baseDn>ou=public,dc=bedework,dc=org</baseDn> 
     344 
     345            <queryLimit>1000</queryLimit> 
     346 
     347            <attrIds></attrIds> 
     348 
     349            <folderObjectClass>organizationalUnit</folderObjectClass> 
     350            <addressbookObjectClass>addressBook</addressbookObjectClass> 
     351            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     352 
     353            <folderIdAttr>ou</folderIdAttr> 
     354            <addressbookIdAttr>ou</addressbookIdAttr> 
     355            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     356 
     357            <authDn>uid=admin,ou=system</authDn> 
     358            <authPw>secret</authPw> 
     359            <debug>true</debug> 
     360          </public-dirHandler> 
     361        </dirhandlers> 
     362         
     363        <!-- =============================================================== 
     364                         Calendar system modules 
     365             =============================================================== --> 
    48366 
    49367        <module> 
     
    99417            <disabled>false</disabled> 
    100418          </dummymail> 
    101  
    102           <default-pwencrypt classname="org.bedework.calfacade.security.DefaultPwEncryptionConfig"> 
    103             <privKeys>@QUICKSTART_DIR@/data/bedework/privkeys</privKeys> 
    104             <pubKeys>@QUICKSTART_DIR@/data/bedework/pubkeys</pubKeys> 
    105  
    106             <debug>true</debug> 
    107             <verbose>true</verbose> 
    108           </default-pwencrypt> 
    109419        </module> 
    110420      </global> 
     
    162472 
    163473      <app> 
    164         <!-- ================================================================== 
     474        <!-- =============================================================== 
    165475                          Timezones server 
    166              ================================================================== --> 
    167         <tzsvr classname="org.bedework.calfacade.configs.ConfigCommon"> 
     476             =============================================================== --> 
     477        <tzsvr classname="org.bedework.timezones.common.TzsvrConfig"> 
    168478          <appType>tzsvr</appType> 
    169           <publicAdmin>false</publicAdmin> 
    170           <guestMode>true</guestMode> 
     479           
     480          <!--  Property defining location of the registry  --> 
     481          <tzdataUrl>http://localhost:8080/tzdata.zip</tzdataUrl> 
     482 
     483          <!-- Property defining long seconds refetch interval for data --> 
     484          <refetchInterval>6000</refetchInterval> 
     485           
     486          <cacheName>vtz</cacheName> 
     487 
     488          <postId>12345abcde</postId>           
    171489        </tzsvr> 
    172490 
    173         <!-- ================================================================== 
     491        <!-- =============================================================== 
    174492                          Config web client 
    175              ================================================================== --> 
     493             =============================================================== --> 
    176494        <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon"> 
    177495          <appType>webconfig</appType> 
     
    180498        </bwconfig> 
    181499 
    182         <!-- ================================================================== 
     500        <!-- =============================================================== 
    183501                          Admin web client CalAdmin 
    184              ================================================================== --> 
     502             =============================================================== --> 
    185503        <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig"> 
    186504          <autoCreateContacts>false</autoCreateContacts> 
     
    213531 
    214532          <logPrefix>PubEventsAdmin</logPrefix> 
    215  
     533           
     534          <!-- Where the browser finds css and other resources -->     
     535          <browserResourceRoot>http://localhost:8080/caladminrsrc</browserResourceRoot> 
     536           
     537          <!-- Where the server finds xsl etc -->     
    216538          <appRoot>http://localhost:8080/caladminrsrc</appRoot> 
    217539        </CalAdmin> 
     
    243565          <logPrefix>EventSubmit</logPrefix> 
    244566 
     567          <!-- Where the browser finds css and other resources -->     
     568          <browserResourceRoot>http://localhost:8080/eventsubmitrsrc</browserResourceRoot> 
     569           
     570          <!-- Where the server finds xsl etc -->     
    245571          <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot> 
    246572 
     
    275601          <logPrefix>PubEvents</logPrefix> 
    276602 
     603          <!-- Where the browser finds css and other resources -->     
     604          <browserResourceRoot>http://localhost:8080/calrsrc</browserResourceRoot> 
     605           
     606          <!-- Where the server finds xsl etc -->     
    277607          <appRoot>http://localhost:8080/calrsrc</appRoot> 
    278608 
     
    282612          <calSuite>MainCampus</calSuite> 
    283613        </Events> 
    284  
    285  
    286614 
    287615        <!-- ================================================================== 
     
    311639          <logPrefix>Feeder</logPrefix> 
    312640 
     641          <!-- Where the browser finds css and other resources -->     
     642          <browserResourceRoot>http://localhost:8080/calfeedrsrc</browserResourceRoot> 
     643           
     644          <!-- Where the server finds xsl etc -->     
    313645          <appRoot>http://localhost:8080/calfeedrsrc</appRoot> 
    314646 
     
    345677          <logPrefix>SoEDept</logPrefix> 
    346678 
     679          <!-- Where the browser finds css and other resources -->     
     680          <browserResourceRoot>http://localhost:8080/calrsrc</browserResourceRoot> 
     681           
     682          <!-- Where the server finds xsl etc -->     
    347683          <appRoot>http://localhost:8080/calrsrc</appRoot> 
    348684 
     
    376712          <logPrefix>PersonalCalendar</logPrefix> 
    377713 
     714          <!-- Where the browser finds css and other resources -->     
     715          <browserResourceRoot>http://localhost:8080/ucalrsrc</browserResourceRoot> 
     716           
     717          <!-- Where the server finds xsl etc -->     
    378718          <appRoot>http://localhost:8080/ucalrsrc</appRoot> 
    379719 
     
    382722        </UserCal> 
    383723 
    384         <!-- ================================================================== 
     724        <!-- =============================================================== 
    385725                          User CalDAV server UserCalDAV 
    386              ================================================================== --> 
     726             =============================================================== --> 
    387727        <Usercaldav classname="org.bedework.caldav.util.CalDAVConfig"> 
    388728          <appType>usercaldav</appType> 
     
    435775          <webcalServiceURI>/webcal</webcalServiceURI> 
    436776        </Pubcaldav> 
     777 
     778        <!-- ================================================================== 
     779                          User CalWS server Usercalws 
     780             ================================================================== --> 
     781        <Usercalws classname="org.bedework.caldav.util.CalDAVConfig"> 
     782          <appType>usercalws</appType> 
     783          <!-- 
     784          <publicAdmin>false</publicAdmin> 
     785          --> 
     786          <guestMode>false</guestMode> 
     787 
     788          <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl> 
     789        </Usercalws> 
     790 
     791        <!-- ================================================================== 
     792                          Public (unauthenticated) CalWS server Pubcalws 
     793             ================================================================== --> 
     794        <Pubcalws classname="org.bedework.caldav.util.CalDAVConfig"> 
     795          <appType>publiccalws</appType> 
     796          <!-- 
     797          <publicAdmin>false</publicAdmin> 
     798           --> 
     799          <guestMode>true</guestMode> 
     800 
     801          <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl> 
     802        </Pubcalws> 
    437803 
    438804        <!-- ================================================================== 
     
    487853 
    488854        <!-- ================================================================== 
     855                          System events monitor program 
     856             ================================================================== --> 
     857        <monitor classname="org.bedework.calfacade.configs.BwCrawlerConfig"> 
     858          <debug>true</debug> 
     859          <appType>monitor</appType> 
     860          <guestMode>true</guestMode> 
     861          <debugEntity>false</debugEntity> 
     862        </monitor> 
     863 
     864        <!-- ================================================================== 
     865                          System key generator 
     866             ================================================================== --> 
     867        <genkeys classname="org.bedework.calfacade.configs.BwCrawlerConfig"> 
     868          <debug>true</debug> 
     869          <appType>genkeys</appType> 
     870          <guestMode>true</guestMode> 
     871          <debugEntity>false</debugEntity> 
     872        </genkeys> 
     873 
     874        <!-- ================================================================== 
    489875                          In/outbox scheduler program 
    490876             ================================================================== --> 
     
    495881          <debugEntity>false</debugEntity> 
    496882        </iosched> 
     883 
     884        <!-- ================================================================== 
     885                          Exchange synch 
     886             ================================================================== --> 
     887        <Exsynch classname="org.bedework.exchgsynch.ExsynchConfig"> 
     888          <appType>exsynch</appType> 
     889 
     890          <!-- location of the WSDL - modified to include server element --> 
     891          <exchangeWSDLURI>http://localhost:8080/exchange/Services.wsdl</exchangeWSDLURI> 
     892 
     893          <!-- Exchange sync callback. Comment out for no service --> 
     894          <exchangeWsPushURI>http://128.113.124.221/exsynch/</exchangeWsPushURI> 
     895 
     896          <!-- Path to keystore - comment out to use default -->           
     897          <keystore>@APPSERVER-DATA-DIR@/exsynchcerts</keystore> 
     898 
     899          <!-- location of the WSDL for the remote web service --> 
     900          <remoteWSDLURI>http://localhost:8080/exchange/wssvc.wsdl</remoteWSDLURI> 
     901           
     902          <remoteWsURL>http://localhost:8080/pubcaldav/exsynchws/</remoteWsURL> 
     903           
     904          <!-- seconds  -->  
     905          <remoteKeepAliveInterval>60</remoteKeepAliveInterval> 
     906        </Exsynch> 
     907 
     908        <!-- =============================================================== 
     909                          User CardDAV server usercarddav 
     910             =============================================================== --> 
     911        <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" > 
     912          <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 
     913           
     914          <webaddrServiceURI>/find</webaddrServiceURI> 
     915          <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList> 
     916          <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 
     917 
     918          <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 
     919 
     920          <defaultAddressbook>addressbook</defaultAddressbook> 
     921 
     922          <!-- This will act as the root for the file system --> 
     923          <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 
     924           
     925          <!-- Needed for access calculations --> 
     926          <userHomeRoot>/user</userHomeRoot> 
     927 
     928          <principalRoot>/principals</principalRoot> 
     929          <userPrincipalRoot>/principals/users</userPrincipalRoot> 
     930          <groupPrincipalRoot>/principals/groups</groupPrincipalRoot> 
     931          <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot> 
     932          <venuePrincipalRoot>/principals/locations</venuePrincipalRoot> 
     933          <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot> 
     934          <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot> 
     935        </usercarddav> 
     936 
     937        <!-- =============================================================== 
     938                          Public CardDAV server pubcarddav 
     939             =============================================================== --> 
     940        <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" > 
     941          <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 
     942           
     943          <webaddrServiceURI>/find</webaddrServiceURI> 
     944          <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList> 
     945          <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 
     946 
     947          <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 
     948 
     949          <defaultAddressbook>addressbook</defaultAddressbook> 
     950 
     951          <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 
     952           
     953          <!-- Needed for access calculations --> 
     954          <userHomeRoot>/user</userHomeRoot> 
     955 
     956          <principalRoot>/principals</principalRoot> 
     957          <userPrincipalRoot>/principals/users</userPrincipalRoot> 
     958          <groupPrincipalRoot>/principals/groups</groupPrincipalRoot> 
     959          <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot> 
     960          <venuePrincipalRoot>/principals/locations</venuePrincipalRoot> 
     961          <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot> 
     962          <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot> 
     963        </pubcarddav> 
     964 
     965        <!-- ================================================================== 
     966                          CardDAV importer 
     967             ================================================================== --> 
     968        <carddavImp classname="org.bedework.carddav.util.CardDAVConfig"> 
     969          <appType>carddavimp</appType> 
     970          <!--  
     971          <publicAdmin>false</publicAdmin> --> 
     972          <guestMode>false</guestMode> 
     973        </carddavImp> 
    497974      </app> 
    498975    </bedework> 
  • releases/bedework-3.7/config/bwbuild/oracle10g/cal.options.xml

    r3062 r3186  
     1<?xml version="1.0"?> 
     2 
    13<!-- This provides run time options for each of the configured applications. 
    24  --> 
     
    3032 
    3133        <!-- CardDAV server locations --> 
    32         <publicCardDAVUri>http://localhost:8080/carddav</publicCardDAVUri> 
    33         <personalCardDAVUri>http://localhost:8080/ucarddav</personalCardDAVUri> 
     34        <publicCardDAVHost>localhost</publicCardDAVHost> 
     35        <publicCardDAVPort>8080</publicCardDAVPort> 
     36        <publicCardDAVContext>/pubcarddav</publicCardDAVContext> 
     37         
     38        <personalCardDAVHost>localhost</personalCardDAVHost> 
     39        <personalCardDAVPort>8080</personalCardDAVPort> 
     40        <personalCardDAVContext>/ucarddav</personalCardDAVContext> 
    3441 
    3542        <!-- Timezone server locations --> 
    3643        <timezonesUri>http://localhost:8080/tzsvr</timezonesUri> 
    3744 
    38         <systemRoots  classname="org.bedework.calfacade.configs.SystemRoots" > 
     45        <!-- Public/private key locations --> 
     46        <privKeys>@DATA_DIR@/privkeys</privKeys> 
     47        <pubKeys>@DATA_DIR@/pubkeys</pubKeys> 
     48 
     49        <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" > 
    3950          <principalRoot>/principals</principalRoot> 
    4051          <userPrincipalRoot>/principals/users</userPrincipalRoot> 
     
    4657          <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot> 
    4758        </systemRoots> 
     59 
     60        <!-- To enable mapping of calendar addresses e.g. mailto:fred@example.org 
     61             on to principals we need to either do a directory lookup or have 
     62             some sort of pattern map.  
     63              
     64             Setting a caladdr prefix enables pattern mapping. By default  
     65             calendar addresses are users --> 
     66              
     67          <!--  
     68        <caladdrPrefixes classname="org.bedework.calfacade.configs.CalAddrPrefixes"> 
     69          <location>loc_</location> 
     70        </caladdrPrefixes>      
     71           --> 
     72            
     73        <!-- =============================================================== 
     74                         CardDAV directory handlers 
     75             =============================================================== --> 
     76 
     77        <dirhandlers> 
     78          <!-- handle the principal hierarchy. 
     79               This could be a read-only interface if we don't intend to allow 
     80               modification of the enterprise directory. 
     81 
     82               However, we may need to merge in subsidiary information to handle 
     83               principal properties. That may mean maintaining a shadow 
     84               principal hierarchy in the local server. 
     85                
     86               Each element name below must be unique. 
     87            --> 
     88          <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     89            <pathPrefix>/principals</pathPrefix> 
     90            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     91 
     92            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     93            <providerUrl>ldap://localhost:10389/</providerUrl> 
     94            <baseDn>dc=bedework, dc=org</baseDn> 
     95 
     96            <queryLimit>1000</queryLimit> 
     97 
     98            <!-- We need to get operational attributes from the directory. 
     99               This requires us to explicitly name all attributes on fetch. 
     100               This element allows us to name EXTRA attributes from the default 
     101               list provided by the implementation. 
     102              --> 
     103            <attrIds></attrIds> 
     104 
     105            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     106            <addressbookIdAttr>ou</addressbookIdAttr> 
     107 
     108            <authDn>uid=admin,ou=system</authDn> 
     109            <authPw>secret</authPw> 
     110 
     111            <debug>true</debug> 
     112          </principal-dirHandler> 
     113 
     114          <user-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     115            <pathPrefix>/principals/users</pathPrefix> 
     116            <addressBook>true</addressBook> 
     117             
     118            <!-- The cardPathPrefix is used to manufacture a path to a card for  
     119                 the principal. If it is set we take the path 
     120                  
     121                 <principal-root>/<account> 
     122                  
     123                 and transform it to  
     124                  
     125                 <cardPathPrefix>/<account>.vcf 
     126                  
     127                 If it is not set we try the cardPathPrefixes supplied globally. 
     128                 If they are not supplied we don't give any path. The client will 
     129                 have to fall back to a query. 
     130                 --> 
     131            <cardPathPrefix>/public/people</cardPathPrefix> 
     132 
     133            <cardPathPrefixes>/public/people,loc_:/public/locations</cardPathPrefixes> 
     134 
     135            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     136 
     137            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     138            <providerUrl>ldap://localhost:10389/</providerUrl> 
     139            <baseDn>ou=accounts,dc=bedework,dc=org</baseDn> 
     140 
     141            <queryLimit>1000</queryLimit> 
     142 
     143            <attrIds></attrIds> 
     144 
     145            <cardKind>individual</cardKind> 
     146 
     147            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     148            <addressbookIdAttr>ou</addressbookIdAttr> 
     149 
     150            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     151            <addressbookEntryIdAttr>uid</addressbookEntryIdAttr> 
     152 
     153            <principalIdAttr>uid</principalIdAttr> 
     154 
     155            <authDn>uid=admin,ou=system</authDn> 
     156            <authPw>secret</authPw> 
     157 
     158            <debug>true</debug> 
     159          </user-principal-dirHandler> 
     160 
     161          <group-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     162            <pathPrefix>/principals/groups</pathPrefix> 
     163            <addressBook>true</addressBook> 
     164 
     165            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     166 
     167            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     168            <providerUrl>ldap://localhost:10389/</providerUrl> 
     169 
     170            <baseDn>ou=groups,dc=bedework,dc=org</baseDn> 
     171 
     172            <queryLimit>1000</queryLimit> 
     173 
     174            <attrIds></attrIds> 
     175 
     176            <cardKind>group</cardKind> 
     177 
     178            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     179            <addressbookIdAttr>ou</addressbookIdAttr> 
     180 
     181            <addressbookEntryObjectClass>groupOfUniqueNames</addressbookEntryObjectClass> 
     182            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     183 
     184            <principalIdAttr>cn</principalIdAttr> 
     185 
     186            <authDn>uid=admin,ou=system</authDn> 
     187            <authPw>secret</authPw> 
     188 
     189            <debug>true</debug> 
     190          </group-principal-dirHandler> 
     191           
     192          <location-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     193            <pathPrefix>/principals/locations</pathPrefix> 
     194            <addressBook>true</addressBook> 
     195            <cardPathPrefix>/public/locations</cardPathPrefix> 
     196 
     197            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapPrincipalDirHandler</className> 
     198 
     199            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     200            <providerUrl>ldap://localhost:10389/</providerUrl> 
     201 
     202            <baseDn>ou=locations,dc=bedework,dc=org</baseDn> 
     203 
     204            <queryLimit>1000</queryLimit> 
     205 
     206            <attrIds></attrIds> 
     207 
     208            <cardKind>location</cardKind> 
     209 
     210            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     211            <addressbookIdAttr>ou</addressbookIdAttr> 
     212 
     213            <addressbookEntryObjectClass>groupOfUniqueNames</addressbookEntryObjectClass> 
     214            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     215 
     216            <principalIdAttr>cn</principalIdAttr> 
     217 
     218            <authDn>uid=admin,ou=system</authDn> 
     219            <authPw>secret</authPw> 
     220 
     221            <debug>true</debug> 
     222          </location-principal-dirHandler> 
     223             
     224          <!-- handle the public (enterprise) people address book hierarchy --> 
     225          <public-people-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     226            <pathPrefix>/public/people</pathPrefix> 
     227             
     228            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     229             
     230            <!-- manufacture an owner for public entities --> 
     231            <ownerHref>/principals/users/admin</ownerHref> 
     232            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     233            <providerUrl>ldap://localhost:10389/</providerUrl> 
     234            <baseDn>ou=people,ou=public,dc=bedework,dc=org</baseDn> 
     235            <queryLimit>1000</queryLimit> 
     236             
     237            <attrIds></attrIds> 
     238             
     239            <folderObjectClass>organizationalUnit</folderObjectClass> 
     240            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     241            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     242            <folderIdAttr>ou</folderIdAttr> 
     243            <addressbookIdAttr>ou</addressbookIdAttr> 
     244            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     245             
     246            <authDn>uid=admin,ou=system</authDn> 
     247            <authPw>secret</authPw> 
     248            <debug>true</debug> 
     249          </public-people-dirHandler> 
     250           
     251           
     252          <!-- handle the user address book hierarchy --> 
     253           
     254          <user-dirHandler classname="org.bedework.carddav.util.DbDirHandlerConfig" > 
     255            <pathPrefix>/user</pathPrefix> 
     256             
     257            <className>org.bedework.carddav.server.dirHandlers.db.DbAddrBookDirHandler</className> 
     258 
     259            <queryLimit>1000</queryLimit> <!-- unimplemented --> 
     260           
     261            <!-- This is the access set at the root. I'll do this as XML soon --> 
     262            <rootAccess>WONyA WANyFyS </rootAccess> 
     263           
     264            <!-- This is the owner of the user root and user home --> 
     265            <rootOwner>/principals/users/root</rootOwner> 
     266             
     267            <debug>true</debug> 
     268          </user-dirHandler> 
     269 
     270          <!-- handle the user address book hierarchy 
     271               How it might be done with ldap  
     272          <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     273            <pathPrefix>/user</pathPrefix> 
     274            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     275 
     276            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     277            <providerUrl>ldap://localhost:10389/</providerUrl> 
     278 
     279            <baseDn>ou=users,ou=addrbooks,dc=bedework,dc=org</baseDn> 
     280 
     281            <queryLimit>1000</queryLimit> 
     282 
     283            <attrIds></attrIds> 
     284 
     285            <folderObjectClass>organizationalUnit</folderObjectClass> 
     286            <folderIdAttr>ou</folderIdAttr> 
     287 
     288            <addressbookObjectClass>addressBook</addressbookObjectClass> 
     289            <addressbookIdAttr>ou</addressbookIdAttr> 
     290 
     291            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     292            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     293 
     294            <authDn>uid=admin,ou=system</authDn> 
     295            <authPw>secret</authPw> 
     296            <debug>true</debug> 
     297          </user-dirHandler> 
     298          --> 
     299  
     300          <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     301            <pathPrefix>/public/locations</pathPrefix> 
     302 
     303            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     304 
     305            <!-- manufacture an owner for public entities --> 
     306            <ownerHref>/principals/users/admin</ownerHref> 
     307 
     308            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     309            <providerUrl>ldap://localhost:10389/</providerUrl> 
     310            <baseDn>ou=locations,ou=public,dc=bedework,dc=org</baseDn> 
     311 
     312            <queryLimit>1000</queryLimit> 
     313 
     314            <attrIds></attrIds> 
     315 
     316            <cardKind>location</cardKind> 
     317 
     318            <addressbookObjectClass>organizationalUnit</addressbookObjectClass> 
     319            <addressbookIdAttr>ou</addressbookIdAttr> 
     320 
     321            <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass> 
     322            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     323 
     324            <principalIdAttr>calcaladruri</principalIdAttr> 
     325 
     326            <authDn>uid=admin,ou=system</authDn> 
     327            <authPw>secret</authPw> 
     328 
     329            <debug>true</debug> 
     330          </public-locations-dirHandler> 
     331 
     332          <!-- handle the public (enterprise) address book hierarchy --> 
     333          <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" > 
     334            <pathPrefix>/public</pathPrefix> 
     335            <className>org.bedework.carddav.server.dirHandlers.ldap.LdapAddrBookDirHandler</className> 
     336 
     337            <!-- manufacture an owner for public entities --> 
     338            <ownerHref>/principals/users/admin</ownerHref> 
     339 
     340            <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory> 
     341            <providerUrl>ldap://localhost:10389/</providerUrl> 
     342 
     343            <baseDn>ou=public,dc=bedework,dc=org</baseDn> 
     344 
     345            <queryLimit>1000</queryLimit> 
     346 
     347            <attrIds></attrIds> 
     348 
     349            <folderObjectClass>organizationalUnit</folderObjectClass> 
     350            <addressbookObjectClass>addressBook</addressbookObjectClass> 
     351            <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass> 
     352 
     353            <folderIdAttr>ou</folderIdAttr> 
     354            <addressbookIdAttr>ou</addressbookIdAttr> 
     355            <addressbookEntryIdAttr>cn</addressbookEntryIdAttr> 
     356 
     357            <authDn>uid=admin,ou=system</authDn> 
     358            <authPw>secret</authPw> 
     359            <debug>true</debug> 
     360          </public-dirHandler> 
     361        </dirhandlers> 
     362         
     363        <!-- =============================================================== 
     364                         Calendar system modules 
     365             =============================================================== --> 
    48366 
    49367        <module> 
     
    99417            <disabled>false</disabled> 
    100418          </dummymail> 
    101  
    102           <default-pwencrypt classname="org.bedework.calfacade.security.DefaultPwEncryptionConfig"> 
    103             <privKeys>@QUICKSTART_DIR@/data/bedework/privkeys</privKeys> 
    104             <pubKeys>@QUICKSTART_DIR@/data/bedework/pubkeys</pubKeys> 
    105  
    106             <debug>true</debug> 
    107             <verbose>true</verbose> 
    108           </default-pwencrypt> 
    109419        </module> 
    110420      </global> 
     
    162472 
    163473      <app> 
    164         <!-- ================================================================== 
     474        <!-- =============================================================== 
    165475                          Timezones server 
    166              ================================================================== --> 
    167         <tzsvr classname="org.bedework.calfacade.configs.ConfigCommon"> 
     476             =============================================================== --> 
     477        <tzsvr classname="org.bedework.timezones.common.TzsvrConfig"> 
    168478          <appType>tzsvr</appType> 
    169           <publicAdmin>false</publicAdmin> 
    170           <guestMode>true</guestMode> 
     479           
     480          <!--  Property defining location of the registry  --> 
     481          <tzdataUrl>http://localhost:8080/tzdata.zip</tzdataUrl> 
     482 
     483          <!-- Property defining long seconds refetch interval for data --> 
     484          <refetchInterval>6000</refetchInterval> 
     485           
     486          <cacheName>vtz</cacheName> 
     487 
     488          <postId>12345abcde</postId>           
    171489        </tzsvr> 
    172490 
    173         <!-- ================================================================== 
     491        <!-- =============================================================== 
    174492                          Config web client 
    175              ================================================================== --> 
     493             =============================================================== --> 
    176494        <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon"> 
    177495          <appType>webconfig</appType> 
     
    180498        </bwconfig> 
    181499 
    182         <!-- ================================================================== 
     500        <!-- =============================================================== 
    183501                          Admin web client CalAdmin 
    184              ================================================================== --> 
     502             =============================================================== --> 
    185503        <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig"> 
    186504          <autoCreateContacts>false</autoCreateContacts> 
     
    295613        </Events> 
    296614 
    297  
    298  
    299615        <!-- ================================================================== 
    300616                          Feed Service 
     
    406722        </UserCal> 
    407723 
    408         <!-- ================================================================== 
     724        <!-- =============================================================== 
    409725                          User CalDAV server UserCalDAV 
    410              ================================================================== --> 
     726             =============================================================== --> 
    411727        <Usercaldav classname="org.bedework.caldav.util.CalDAVConfig"> 
    412728          <appType>usercaldav</appType> 
     
    459775          <webcalServiceURI>/webcal</webcalServiceURI> 
    460776        </Pubcaldav> 
     777 
     778        <!-- ================================================================== 
     779                          User CalWS server Usercalws 
     780             ================================================================== --> 
     781        <Usercalws classname="org.bedework.caldav.util.CalDAVConfig"> 
     782          <appType>usercalws</appType> 
     783          <!-- 
     784          <publicAdmin>false</publicAdmin> 
     785          --> 
     786          <guestMode>false</guestMode> 
     787 
     788          <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl> 
     789        </Usercalws> 
     790 
     791        <!-- ================================================================== 
     792                          Public (unauthenticated) CalWS server Pubcalws 
     793             ================================================================== --> 
     794        <Pubcalws classname="org.bedework.caldav.util.CalDAVConfig"> 
     795          <appType>publiccalws</appType> 
     796          <!-- 
     797          <publicAdmin>false</publicAdmin> 
     798           --> 
     799          <guestMode>true</guestMode> 
     800 
     801          <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl> 
     802        </Pubcalws> 
    461803 
    462804        <!-- ================================================================== 
     
    511853 
    512854        <!-- ================================================================== 
     855                          System events monitor program 
     856             ================================================================== --> 
     857        <monitor classname="org.bedework.calfacade.configs.BwCrawlerConfig"> 
     858          <debug>true</debug> 
     859          <appType>monitor</appType> 
     860          <guestMode>true</guestMode> 
     861          <debugEntity>false</debugEntity> 
     862        </monitor> 
     863 
     864        <!-- ================================================================== 
     865                          System key generator 
     866             ================================================================== --> 
     867        <genkeys classname="org.bedework.calfacade.configs.BwCrawlerConfig"> 
     868          <debug>true</debug> 
     869          <appType>genkeys</appType> 
     870          <guestMode>true</guestMode> 
     871          <debugEntity>false</debugEntity> 
     872        </genkeys> 
     873 
     874        <!-- ================================================================== 
    513875                          In/outbox scheduler program 
    514876             ================================================================== --> 
     
    519881          <debugEntity>false</debugEntity> 
    520882        </iosched> 
     883 
     884        <!-- ================================================================== 
     885                          Exchange synch 
     886             ================================================================== --> 
     887        <Exsynch classname="org.bedework.exchgsynch.ExsynchConfig"> 
     888          <appType>exsynch</appType> 
     889 
     890          <!-- location of the WSDL - modified to include server element --> 
     891          <exchangeWSDLURI>http://localhost:8080/exchange/Services.wsdl</exchangeWSDLURI> 
     892 
     893          <!-- Exchange sync callback. Comment out for no service --> 
     894          <exchangeWsPushURI>http://128.113.124.221/exsynch/</exchangeWsPushURI> 
     895 
     896          <!-- Path to keystore - comment out to use default -->           
     897          <keystore>@APPSERVER-DATA-DIR@/exsynchcerts</keystore> 
     898 
     899          <!-- location of the WSDL for the remote web service --> 
     900          <remoteWSDLURI>http://localhost:8080/exchange/wssvc.wsdl</remoteWSDLURI> 
     901           
     902          <remoteWsURL>http://localhost:8080/pubcaldav/exsynchws/</remoteWsURL> 
     903           
     904          <!-- seconds  -->  
     905          <remoteKeepAliveInterval>60</remoteKeepAliveInterval> 
     906        </Exsynch> 
     907 
     908        <!-- =============================================================== 
     909                          User CardDAV server usercarddav 
     910             =============================================================== --> 
     911        <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" > 
     912          <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 
     913           
     914          <webaddrServiceURI>/find</webaddrServiceURI> 
     915          <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList> 
     916          <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 
     917 
     918          <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 
     919 
     920          <defaultAddressbook>addressbook</defaultAddressbook> 
     921 
     922          <!-- This will act as the root for the file system --> 
     923          <addressBookHandlerPrefix>/user</addressBookHandlerPrefix> 
     924           
     925          <!-- Needed for access calculations --> 
     926          <userHomeRoot>/user</userHomeRoot> 
     927 
     928          <principalRoot>/principals</principalRoot> 
     929          <userPrincipalRoot>/principals/users</userPrincipalRoot> 
     930          <groupPrincipalRoot>/principals/groups</groupPrincipalRoot> 
     931          <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot> 
     932          <venuePrincipalRoot>/principals/locations</venuePrincipalRoot> 
     933          <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot> 
     934          <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot> 
     935        </usercarddav> 
     936 
     937        <!-- =============================================================== 
     938                          Public CardDAV server pubcarddav 
     939             =============================================================== --> 
     940        <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" > 
     941          <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl> 
     942           
     943          <webaddrServiceURI>/find</webaddrServiceURI> 
     944          <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList> 
     945          <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook> 
     946 
     947          <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed> 
     948 
     949          <defaultAddressbook>addressbook</defaultAddressbook> 
     950 
     951          <addressBookHandlerPrefix>/public</addressBookHandlerPrefix> 
     952           
     953          <!-- Needed for access calculations --> 
     954          <userHomeRoot>/user</userHomeRoot> 
     955 
     956          <principalRoot>/principals</principalRoot> 
     957          <userPrincipalRoot>/principals/users</userPrincipalRoot> 
     958          <groupPrincipalRoot>/principals/groups</groupPrincipalRoot> 
     959          <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot> 
     960          <venuePrincipalRoot>/principals/locations</venuePrincipalRoot> 
     961          <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot> 
     962          <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot> 
     963        </pubcarddav> 
     964 
     965        <!-- ================================================================== 
     966                          CardDAV importer 
     967             ================================================================== --> 
     968        <carddavImp classname="org.bedework.carddav.util.CardDAVConfig"> 
     969          <appType>carddavimp</appType> 
     970          <!--  
     971          <publicAdmin>false</publicAdmin> --> 
     972          <guestMode>false</guestMode> 
     973        </carddavImp> 
    521974      </app> 
    522975    </bedework> 
  • releases/bedework-3.7/deployment/genkeys/shellscr/META-INF/jboss-service.xml

    r3095 r3186  
    99         name="org.bedework:service=GenKeys"> 
    1010    <attribute name="PrivKeyFileName" 
    11           >${jboss.server.data.dir}/bedework/privkeys</attribute> 
     11          >@DATA_DIR@/privkeys</attribute> 
    1212 
    1313    <attribute name="PublicKeyFileName" 
    14           >${jboss.server.data.dir}/bedework/pubkeys</attribute> 
     14          >@DATA_DIR@/pubkeys</attribute> 
    1515 
    1616  </mbean>