UpdateVault.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2003, 2006. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <request
  23. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
  25. type="update" create-oids="true">
  26. <!-- Sample for updating the credential vault. This script creates a new segment containing one slot in the portal
  27. credential vault.
  28. The credentials (userid and password pairs) that are stored in the vault cannot be accessed using the XML configuration
  29. interface. You can only set the credentials using the administration portlets for the credential vault. -->
  30. <portal action="locate">
  31. <credential-segment action="update" adapter-type="default" name="CorporateSegment" user-mapped="false">
  32. <description>Segment containing credentials for corporate backends</description>
  33. <credential-slot action="update" name="CorporateFtpServer" active="false" system="true" resource="none" secrettype="userid-password">
  34. <localedata locale="en">
  35. <description>Credentials for accessing the Corporate FTP server</description>
  36. <keywords>FTP Backend Corporate</keywords>
  37. </localedata>
  38. </credential-slot>
  39. </credential-segment>
  40. </portal>
  41. </request>