From 621d9e5c413e561293d7484b93882d985b3fe15f Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Sat, 24 Mar 2012 02:27:47 -0500 Subject: Removed unnecessary pki folder. Previously the source code was located inside a pki folder. This folder was created during svn migration and is no longer needed. This folder has now been removed and the contents have been moved up one level. Ticket #131 --- dogtag/tps-ui/CMakeLists.txt | 8 + dogtag/tps-ui/LICENSE | 291 ++++ dogtag/tps-ui/build.xml | 285 ++++ dogtag/tps-ui/build_dogtag | 82 + dogtag/tps-ui/dogtag-pki-tps-ui.spec | 65 + dogtag/tps-ui/shared/cgi-bin/demo/Enroll.html | 81 + dogtag/tps-ui/shared/cgi-bin/home/Enroll.html | 79 + dogtag/tps-ui/shared/cgi-bin/so/Enroll.html | 138 ++ dogtag/tps-ui/shared/cgi-bin/sow/cfg.pl | 168 ++ dogtag/tps-ui/shared/cgi-bin/sow/enroll.html | 260 +++ dogtag/tps-ui/shared/cgi-bin/sow/enroll_temp.html | 231 +++ dogtag/tps-ui/shared/cgi-bin/sow/format.html | 236 +++ dogtag/tps-ui/shared/cgi-bin/sow/formatso.html | 186 ++ dogtag/tps-ui/shared/cgi-bin/sow/main.html | 67 + dogtag/tps-ui/shared/cgi-bin/sow/noaccess.html | 63 + dogtag/tps-ui/shared/cgi-bin/sow/read.html | 78 + dogtag/tps-ui/shared/cgi-bin/sow/read_temp.html | 78 + dogtag/tps-ui/shared/cgi-bin/sow/search.html | 71 + dogtag/tps-ui/shared/cgi-bin/sow/search_temp.html | 71 + dogtag/tps-ui/shared/cgi-bin/sow/seturl.html | 174 ++ dogtag/tps-ui/shared/cgi-bin/sow/welcome.html | 63 + dogtag/tps-ui/shared/docroot/404.html | 146 ++ dogtag/tps-ui/shared/docroot/500.html | 139 ++ dogtag/tps-ui/shared/docroot/css/pki-360.css | 941 +++++++++++ dogtag/tps-ui/shared/docroot/css/pki-base.css | 213 +++ dogtag/tps-ui/shared/docroot/css/pki.css | 742 ++++++++ dogtag/tps-ui/shared/docroot/esc/AdminEsc.html | 57 + dogtag/tps-ui/shared/docroot/esc/AdvancePopup.html | 1713 +++++++++++++++++++ dogtag/tps-ui/shared/docroot/esc/EnrollPopup.html | 1717 +++++++++++++++++++ dogtag/tps-ui/shared/docroot/esc/GenericAuth.html | 536 ++++++ dogtag/tps-ui/shared/docroot/esc/SettingsEsc.html | 737 ++++++++ dogtag/tps-ui/shared/docroot/esc/TokenManager.html | 1705 +++++++++++++++++++ dogtag/tps-ui/shared/docroot/esc/TokenPin.html | 76 + .../shared/docroot/esc/demo/EnrollSuccess.html | 51 + .../shared/docroot/esc/demo/GenericAuth.html | 537 ++++++ dogtag/tps-ui/shared/docroot/esc/demo/logo.jpg | Bin 0 -> 429 bytes dogtag/tps-ui/shared/docroot/esc/demo/style.css | 213 +++ dogtag/tps-ui/shared/docroot/esc/demo/util.js | 1503 ++++++++++++++++ .../shared/docroot/esc/home/EnrollSuccess.html | 46 + .../shared/docroot/esc/home/GenericAuth.html | 538 ++++++ dogtag/tps-ui/shared/docroot/esc/home/logo.jpg | Bin 0 -> 429 bytes dogtag/tps-ui/shared/docroot/esc/home/style.css | 213 +++ dogtag/tps-ui/shared/docroot/esc/home/util.js | 1502 ++++++++++++++++ .../shared/docroot/esc/images/BannerBackground.gif | Bin 0 -> 335 bytes .../shared/docroot/esc/images/CancelButton.gif | Bin 0 -> 1337 bytes .../shared/docroot/esc/images/CloseButton.gif | Bin 0 -> 1309 bytes .../shared/docroot/esc/images/ContinueButton.gif | Bin 0 -> 1457 bytes .../shared/docroot/esc/images/HelpButton.gif | Bin 0 -> 1279 bytes .../shared/docroot/esc/images/NetKey-Small.gif | Bin 0 -> 135 bytes .../shared/docroot/esc/images/NetKeyInsert.gif | Bin 0 -> 1622 bytes .../shared/docroot/esc/images/NetKeyLogo.gif | Bin 0 -> 426 bytes .../shared/docroot/esc/images/NetKeyPair.gif | Bin 0 -> 1451 bytes .../shared/docroot/esc/images/NetKeyProgress.gif | Bin 0 -> 7018 bytes .../docroot/esc/images/NetKeyQuestionMark.gif | Bin 0 -> 1707 bytes .../tps-ui/shared/docroot/esc/images/OKButton.gif | Bin 0 -> 1237 bytes .../tps-ui/shared/docroot/esc/images/PadLock.gif | Bin 0 -> 136 bytes .../shared/docroot/esc/images/PurchaseButton.gif | Bin 0 -> 1878 bytes .../shared/docroot/esc/images/ReactivateButton.gif | Bin 0 -> 1482 bytes .../shared/docroot/esc/images/ReleaseButton.gif | Bin 0 -> 1413 bytes .../shared/docroot/esc/images/SecureButton.gif | Bin 0 -> 1340 bytes .../shared/docroot/esc/images/SuspendButton.gif | Bin 0 -> 1425 bytes .../shared/docroot/esc/images/TryAgainButton.gif | Bin 0 -> 1441 bytes dogtag/tps-ui/shared/docroot/esc/images/bg.jpg | Bin 0 -> 519 bytes dogtag/tps-ui/shared/docroot/esc/images/logo.gif | Bin 0 -> 2866 bytes .../shared/docroot/esc/so/EnrollSuccess.html | 46 + .../tps-ui/shared/docroot/esc/so/GenericAuth.html | 538 ++++++ .../shared/docroot/esc/so/images/indicator.gif | Bin 0 -> 701 bytes .../tps-ui/shared/docroot/esc/so/images/logo.gif | Bin 0 -> 2866 bytes dogtag/tps-ui/shared/docroot/esc/so/logo.jpg | Bin 0 -> 429 bytes dogtag/tps-ui/shared/docroot/esc/so/style.css | 213 +++ dogtag/tps-ui/shared/docroot/esc/so/util.js | 1513 +++++++++++++++++ .../shared/docroot/esc/sow/EnrollSuccess.html | 50 + .../tps-ui/shared/docroot/esc/sow/GenericAuth.html | 538 ++++++ dogtag/tps-ui/shared/docroot/esc/sow/css/style.css | 277 +++ .../shared/docroot/esc/sow/images/indicator.gif | Bin 0 -> 701 bytes .../tps-ui/shared/docroot/esc/sow/images/logo.gif | Bin 0 -> 2866 bytes .../shared/docroot/esc/sow/js/ajax-dynamic-list.js | 288 ++++ dogtag/tps-ui/shared/docroot/esc/sow/js/ajax.js | 193 +++ dogtag/tps-ui/shared/docroot/esc/sow/js/effects.js | 903 ++++++++++ .../tps-ui/shared/docroot/esc/sow/js/lightbox.js | 689 ++++++++ .../tps-ui/shared/docroot/esc/sow/js/prototype.js | 1785 ++++++++++++++++++++ .../shared/docroot/esc/sow/js/scriptaculous.js | 45 + dogtag/tps-ui/shared/docroot/esc/sow/logo.jpg | Bin 0 -> 429 bytes dogtag/tps-ui/shared/docroot/esc/sow/style.css | 213 +++ dogtag/tps-ui/shared/docroot/esc/sow/util.js | 1769 +++++++++++++++++++ dogtag/tps-ui/shared/docroot/esc/style.css | 196 +++ dogtag/tps-ui/shared/docroot/footer.vm | 19 + dogtag/tps-ui/shared/docroot/header.vm | 26 + dogtag/tps-ui/shared/docroot/index.vm | 89 + .../shared/docroot/tokendb/addConfig.template | 164 ++ .../shared/docroot/tokendb/addResults.template | 74 + .../docroot/tokendb/agentSelectConfig.template | 123 ++ .../docroot/tokendb/agentViewConfig.template | 187 ++ .../shared/docroot/tokendb/auditAdmin.template | 213 +++ .../docroot/tokendb/confirmConfigChanges.template | 234 +++ .../docroot/tokendb/confirmDeleteConfig.template | 173 ++ .../tps-ui/shared/docroot/tokendb/delete.template | 294 ++++ .../shared/docroot/tokendb/deleteResults.template | 74 + .../tps-ui/shared/docroot/tokendb/doToken.template | 360 ++++ .../shared/docroot/tokendb/doTokenConfirm.template | 344 ++++ dogtag/tps-ui/shared/docroot/tokendb/edit.template | 199 +++ .../shared/docroot/tokendb/editConfig.template | 237 +++ .../shared/docroot/tokendb/editResults.template | 75 + .../shared/docroot/tokendb/editUser.template | 313 ++++ .../tps-ui/shared/docroot/tokendb/error.template | 73 + .../tps-ui/shared/docroot/tokendb/index.template | 151 ++ .../shared/docroot/tokendb/indexAdmin.template | 176 ++ .../shared/docroot/tokendb/indexOperator.template | 129 ++ dogtag/tps-ui/shared/docroot/tokendb/new.template | 93 + .../tps-ui/shared/docroot/tokendb/newUser.template | 179 ++ .../tps-ui/shared/docroot/tokendb/revoke.template | 317 ++++ .../tps-ui/shared/docroot/tokendb/search.template | 118 ++ .../shared/docroot/tokendb/searchActivity.template | 123 ++ .../docroot/tokendb/searchActivityAdmin.template | 119 ++ .../tokendb/searchActivityAdminResults.template | 234 +++ .../docroot/tokendb/searchActivityResults.template | 239 +++ .../shared/docroot/tokendb/searchAdmin.template | 115 ++ .../docroot/tokendb/searchAdminResults.template | 222 +++ .../docroot/tokendb/searchCertificate.template | 118 ++ .../tokendb/searchCertificateResults.template | 226 +++ .../shared/docroot/tokendb/searchResults.template | 227 +++ .../shared/docroot/tokendb/searchUser.template | 126 ++ .../docroot/tokendb/searchUserResults.template | 190 +++ .../shared/docroot/tokendb/selectConfig.template | 137 ++ .../shared/docroot/tokendb/selfTest.template | 129 ++ .../docroot/tokendb/selfTestResults.template | 113 ++ dogtag/tps-ui/shared/docroot/tokendb/show.template | 379 +++++ .../shared/docroot/tokendb/showAdmin.template | 302 ++++ .../shared/docroot/tokendb/showCert.template | 355 ++++ .../shared/docroot/tokendb/userDelete.template | 174 ++ .../admin/console/config/adminauthenticatepanel.vm | 51 + .../docroot/tps/admin/console/config/adminpanel.vm | 236 +++ .../admin/console/config/agentauthenticatepanel.vm | 47 + .../tps/admin/console/config/authdbpanel.vm | 67 + .../tps/admin/console/config/cainfopanel.vm | 54 + .../tps/admin/console/config/certchainpanel.vm | 48 + .../admin/console/config/certprettyprintpanel.vm | 48 + .../tps/admin/console/config/certrequestpanel.vm | 224 +++ .../tps/admin/console/config/config_addhsm.vm | 95 ++ .../docroot/tps/admin/console/config/config_db.vm | 125 ++ .../docroot/tps/admin/console/config/config_hsm.vm | 175 ++ .../admin/console/config/config_hsmloginpanel.vm | 82 + .../tps/admin/console/config/config_join.vm | 124 ++ .../tps/admin/console/config/config_rootca.vm | 112 ++ .../admin/console/config/createsubsystempanel.vm | 98 ++ .../tps/admin/console/config/databasepanel.vm | 93 + .../admin/console/config/displaycertchain2panel.vm | 40 + .../admin/console/config/displaycertchainpanel.vm | 40 + .../docroot/tps/admin/console/config/donepanel.vm | 54 + .../tps/admin/console/config/drminfopanel.vm | 55 + .../docroot/tps/admin/console/config/footer.vm | 19 + .../docroot/tps/admin/console/config/header.vm | 25 + .../tps/admin/console/config/hierarchypanel.vm | 79 + .../admin/console/config/importadmincertpanel.vm | 55 + .../docroot/tps/admin/console/config/login.vm | 109 ++ .../tps/admin/console/config/modulepanel.vm | 157 ++ .../docroot/tps/admin/console/config/namepanel.vm | 90 + .../console/config/securitydomainloginpanel.vm | 108 ++ .../admin/console/config/securitydomainpanel.vm | 114 ++ .../docroot/tps/admin/console/config/sidemenu.vm | 29 + .../docroot/tps/admin/console/config/sizepanel.vm | 234 +++ .../tps/admin/console/config/tksinfopanel.vm | 50 + .../docroot/tps/admin/console/config/topmenu.vm | 20 + .../tps/admin/console/config/welcomepanel.vm | 57 + .../docroot/tps/admin/console/config/wizard.vm | 147 ++ .../shared/docroot/tps/admin/console/config/xml.vm | 4 + .../shared/docroot/tps/admin/console/img/badge.png | Bin 0 -> 1635 bytes .../docroot/tps/admin/console/img/bigrotation2.gif | Bin 0 -> 1787 bytes .../docroot/tps/admin/console/img/button-clear.gif | Bin 0 -> 647 bytes .../tps/admin/console/img/button-manage.gif | Bin 0 -> 776 bytes .../tps/admin/console/img/button-search.gif | Bin 0 -> 1293 bytes .../docroot/tps/admin/console/img/certificate.png | Bin 0 -> 4663 bytes .../docroot/tps/admin/console/img/clearpixel.gif | Bin 0 -> 43 bytes .../docroot/tps/admin/console/img/favicon.ico | Bin 0 -> 601 bytes .../docroot/tps/admin/console/img/icon_checkin.gif | Bin 0 -> 225 bytes .../tps/admin/console/img/icon_crit_update.gif | Bin 0 -> 337 bytes .../docroot/tps/admin/console/img/icon_locked.gif | Bin 0 -> 515 bytes .../tps/admin/console/img/icon_reg_update.gif | Bin 0 -> 307 bytes .../docroot/tps/admin/console/img/icon_up2date.gif | Bin 0 -> 226 bytes .../shared/docroot/tps/admin/console/img/id.png | Bin 0 -> 1604 bytes .../shared/docroot/tps/admin/console/img/idkey.png | Bin 0 -> 1690 bytes .../shared/docroot/tps/admin/console/img/key.png | Bin 0 -> 1753 bytes .../shared/docroot/tps/admin/console/img/lock.png | Bin 0 -> 1453 bytes .../docroot/tps/admin/console/img/logo_header.gif | Bin 0 -> 5833 bytes .../tps/admin/console/img/no-certificate.png | Bin 0 -> 2342 bytes .../tps/admin/console/img/pki-icon-help.gif | Bin 0 -> 326 bytes .../tps/admin/console/img/pki-icon-home.gif | Bin 0 -> 657 bytes .../tps/admin/console/img/pki-icon-software.gif | Bin 0 -> 1146 bytes .../shared/docroot/tps/admin/console/js/misc.js | 30 + 189 files changed, 36513 insertions(+) create mode 100644 dogtag/tps-ui/CMakeLists.txt create mode 100644 dogtag/tps-ui/LICENSE create mode 100644 dogtag/tps-ui/build.xml create mode 100755 dogtag/tps-ui/build_dogtag create mode 100644 dogtag/tps-ui/dogtag-pki-tps-ui.spec create mode 100755 dogtag/tps-ui/shared/cgi-bin/demo/Enroll.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/home/Enroll.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/so/Enroll.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/cfg.pl create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/enroll.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/enroll_temp.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/format.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/formatso.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/main.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/noaccess.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/read.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/read_temp.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/search.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/search_temp.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/seturl.html create mode 100755 dogtag/tps-ui/shared/cgi-bin/sow/welcome.html create mode 100755 dogtag/tps-ui/shared/docroot/404.html create mode 100755 dogtag/tps-ui/shared/docroot/500.html create mode 100644 dogtag/tps-ui/shared/docroot/css/pki-360.css create mode 100644 dogtag/tps-ui/shared/docroot/css/pki-base.css create mode 100644 dogtag/tps-ui/shared/docroot/css/pki.css create mode 100755 dogtag/tps-ui/shared/docroot/esc/AdminEsc.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/AdvancePopup.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/EnrollPopup.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/GenericAuth.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/SettingsEsc.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/TokenManager.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/TokenPin.html create mode 100644 dogtag/tps-ui/shared/docroot/esc/demo/EnrollSuccess.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/demo/GenericAuth.html create mode 100644 dogtag/tps-ui/shared/docroot/esc/demo/logo.jpg create mode 100755 dogtag/tps-ui/shared/docroot/esc/demo/style.css create mode 100755 dogtag/tps-ui/shared/docroot/esc/demo/util.js create mode 100644 dogtag/tps-ui/shared/docroot/esc/home/EnrollSuccess.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/home/GenericAuth.html create mode 100644 dogtag/tps-ui/shared/docroot/esc/home/logo.jpg create mode 100755 dogtag/tps-ui/shared/docroot/esc/home/style.css create mode 100755 dogtag/tps-ui/shared/docroot/esc/home/util.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/BannerBackground.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/CancelButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/CloseButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/ContinueButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/HelpButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/NetKey-Small.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/NetKeyInsert.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/NetKeyLogo.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/NetKeyPair.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/NetKeyProgress.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/NetKeyQuestionMark.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/OKButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/PadLock.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/PurchaseButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/ReactivateButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/ReleaseButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/SecureButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/SuspendButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/TryAgainButton.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/images/bg.jpg create mode 100644 dogtag/tps-ui/shared/docroot/esc/images/logo.gif create mode 100644 dogtag/tps-ui/shared/docroot/esc/so/EnrollSuccess.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/so/GenericAuth.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/so/images/indicator.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/so/images/logo.gif create mode 100644 dogtag/tps-ui/shared/docroot/esc/so/logo.jpg create mode 100755 dogtag/tps-ui/shared/docroot/esc/so/style.css create mode 100755 dogtag/tps-ui/shared/docroot/esc/so/util.js create mode 100644 dogtag/tps-ui/shared/docroot/esc/sow/EnrollSuccess.html create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/GenericAuth.html create mode 100644 dogtag/tps-ui/shared/docroot/esc/sow/css/style.css create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/images/indicator.gif create mode 100644 dogtag/tps-ui/shared/docroot/esc/sow/images/logo.gif create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/js/ajax-dynamic-list.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/js/ajax.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/js/effects.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/js/lightbox.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/js/prototype.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/js/scriptaculous.js create mode 100644 dogtag/tps-ui/shared/docroot/esc/sow/logo.jpg create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/style.css create mode 100755 dogtag/tps-ui/shared/docroot/esc/sow/util.js create mode 100755 dogtag/tps-ui/shared/docroot/esc/style.css create mode 100755 dogtag/tps-ui/shared/docroot/footer.vm create mode 100755 dogtag/tps-ui/shared/docroot/header.vm create mode 100755 dogtag/tps-ui/shared/docroot/index.vm create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/addConfig.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/addResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/agentSelectConfig.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/agentViewConfig.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/auditAdmin.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/confirmConfigChanges.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/confirmDeleteConfig.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/delete.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/deleteResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/doToken.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/doTokenConfirm.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/edit.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/editConfig.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/editResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/editUser.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/error.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/index.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/indexAdmin.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/indexOperator.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/new.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/newUser.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/revoke.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/search.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchActivity.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchActivityAdmin.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchActivityAdminResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchActivityResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchAdmin.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchAdminResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchCertificate.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchCertificateResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchUser.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/searchUserResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/selectConfig.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/selfTest.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/selfTestResults.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/show.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/showAdmin.template create mode 100644 dogtag/tps-ui/shared/docroot/tokendb/showCert.template create mode 100755 dogtag/tps-ui/shared/docroot/tokendb/userDelete.template create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/adminauthenticatepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/adminpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/agentauthenticatepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/authdbpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/cainfopanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/certchainpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/certprettyprintpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/certrequestpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_addhsm.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_db.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_hsm.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_hsmloginpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_join.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_rootca.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/createsubsystempanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/databasepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/displaycertchain2panel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/displaycertchainpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/donepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/drminfopanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/footer.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/header.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/hierarchypanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/importadmincertpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/login.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/modulepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/namepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/securitydomainloginpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/securitydomainpanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/sidemenu.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/sizepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/tksinfopanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/topmenu.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/welcomepanel.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/wizard.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/config/xml.vm create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/badge.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/bigrotation2.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/button-clear.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/button-manage.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/button-search.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/certificate.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/clearpixel.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/favicon.ico create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/icon_checkin.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/icon_crit_update.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/icon_locked.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/icon_reg_update.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/icon_up2date.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/id.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/idkey.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/key.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/lock.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/logo_header.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/no-certificate.png create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/pki-icon-help.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/pki-icon-home.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/img/pki-icon-software.gif create mode 100644 dogtag/tps-ui/shared/docroot/tps/admin/console/js/misc.js (limited to 'dogtag/tps-ui') diff --git a/dogtag/tps-ui/CMakeLists.txt b/dogtag/tps-ui/CMakeLists.txt new file mode 100644 index 000000000..1164a7ca0 --- /dev/null +++ b/dogtag/tps-ui/CMakeLists.txt @@ -0,0 +1,8 @@ +project(tps-ui) + +install( + DIRECTORY + shared/ + DESTINATION + ${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}/${PROJECT_NAME} +) diff --git a/dogtag/tps-ui/LICENSE b/dogtag/tps-ui/LICENSE new file mode 100644 index 000000000..e281f4362 --- /dev/null +++ b/dogtag/tps-ui/LICENSE @@ -0,0 +1,291 @@ +This Program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published +by the Free Software Foundation; version 2 of the License. + +This Program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this Program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/dogtag/tps-ui/build.xml b/dogtag/tps-ui/build.xml new file mode 100644 index 000000000..2fc35e8e4 --- /dev/null +++ b/dogtag/tps-ui/build.xml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dogtag/tps-ui/build_dogtag b/dogtag/tps-ui/build_dogtag new file mode 100755 index 000000000..0e2bf56f5 --- /dev/null +++ b/dogtag/tps-ui/build_dogtag @@ -0,0 +1,82 @@ +#!/bin/bash +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +# Always switch into the base directory of this +# shell script prior to executing it so that all +# of its output is written to this directory +cd `dirname $0` + +# Retrieve the directory name housing this component +PWD=`pwd` + +# Set Dogtag component-specific environment variables +DOGTAG_BUILD_SCRIPT=`basename $0` +export DOGTAG_BUILD_SCRIPT +DOGTAG_COMPONENT=`basename ${PWD}` +export DOGTAG_COMPONENT +DOGTAG_SPECFILE="dogtag-pki-tps-ui.spec" +export DOGTAG_SPECFILE + +# Set PKI 'ant' environment variables (originally obtained from specfile) +PKI_PRODUCT_UI_FLAVOR_PREFIX="dogtag" +export PKI_PRODUCT_UI_FLAVOR_PREFIX +PKI_PRODUCT_PREFIX="pki" +export PKI_PRODUCT_PREFIX +PKI_PRODUCT="tps-ui" +export PKI_PRODUCT +PKI_VERSION="9.0.0" +export PKI_VERSION + +# Set Dogtag helper variables +DOGTAG_COMPONENT_NAME=${PKI_PRODUCT} +export DOGTAG_COMPONENT_NAME +DOGTAG_WGET_URL=http://cvs.fedora.redhat.com/viewvc +export DOGTAG_WGET_URL + +# Obtain '${DOGTAG_SPECFILE}' as necessary +if [ "$1" = "refresh" ]; then + if [ -f "${DOGTAG_SPECFILE}" ]; then + printf "Removing '${DOGTAG_SPECFILE}' . . . " + rm -rf ${DOGTAG_SPECFILE} + printf "done.\n" + fi + shift +fi +if [ ! -f "${DOGTAG_SPECFILE}" ]; then + # Check for Fedora Operating System + if [ ! -f /etc/fedora-release ]; then + printf "'${DOGTAG_COMPONENT_NAME}' ONLY builds on Fedora!\n" + exit 255 + fi + # Obtain Fedora Operating System Version + FEDORA_VERSION="F-`cat /etc/fedora-release | awk '{print $3}'`" + export FEDORA_VERSION + # Retrieve '${DOGTAG_SPECFILE}' from Koji + printf "Fetching '${DOGTAG_SPECFILE}' for '${FEDORA_VERSION}' . . .\n" + wget -O ${DOGTAG_SPECFILE} ${DOGTAG_WGET_URL}/${FEDORA_VERSION}/${DOGTAG_COMPONENT_NAME}/${DOGTAG_SPECFILE}?view=co + if [ ! -s "${DOGTAG_SPECFILE}" ]; then + printf "Failed to fetch '${DOGTAG_SPECFILE}' for '${FEDORA_VERSION}'!\n" + rm -rf ${DOGTAG_SPECFILE} + exit 255 + fi +fi + +# Invoke the shared Dogtag PKI build script +config-ext/build_dogtag_pki $@ + diff --git a/dogtag/tps-ui/dogtag-pki-tps-ui.spec b/dogtag/tps-ui/dogtag-pki-tps-ui.spec new file mode 100644 index 000000000..414967e4d --- /dev/null +++ b/dogtag/tps-ui/dogtag-pki-tps-ui.spec @@ -0,0 +1,65 @@ +Name: dogtag-pki-tps-ui +Version: 9.0.0 +Release: 2%{?dist} +Summary: Dogtag Certificate System - Token Processing System User Interface +URL: http://pki.fedoraproject.org/ +License: GPLv2 and LGPLv2 +Group: System Environment/Base + +BuildArch: noarch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: ant + +Source0: http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz + +# NOTE: Several PKI packages require a "virtual" UI component. These +# "virtual" UI components are "Provided" by various UI "flavors" +# including "dogtag", "redhat", and "null". Consequently, +# all "dogtag", "redhat", and "null" UI components MUST be +# mutually exclusive! +Provides: pki-tps-ui = %{version}-%{release} + +Obsoletes: pki-tps-ui < %{version}-%{release} + +Conflicts: redhat-pki-tps-ui + +%description +Dogtag Certificate System is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The Dogtag Token Processing System User Interface contains the graphical +user interface for the Dogtag Token Processing System. + +%prep + +%setup -q + +%build +ant \ + -Dproduct.ui.flavor.prefix="dogtag" \ + -Dproduct.prefix="pki" \ + -Dproduct="tps-ui" \ + -Dversion="%{version}" + +%install +rm -rf %{buildroot} +cd dist/binary +unzip %{name}-%{version}.zip -d %{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{_datadir}/pki/ + +%changelog +* Fri Feb 4 2011 Matthew Harmsen 9.0.0-2 +- Bugzilla Bug 606944- Use openldap instead of mozldap + +* Fri Nov 19 2010 Matthew Harmsen 9.0.0-1 +- Updated Dogtag 1.3.x --> Dogtag 2.0.0 --> Dogtag 9.0.0. + diff --git a/dogtag/tps-ui/shared/cgi-bin/demo/Enroll.html b/dogtag/tps-ui/shared/cgi-bin/demo/Enroll.html new file mode 100755 index 000000000..d366f1a85 --- /dev/null +++ b/dogtag/tps-ui/shared/cgi-bin/demo/Enroll.html @@ -0,0 +1,81 @@ + + + + + + + +Enrollment + + + + +