From 0a90384a9c7d840e88d9636271e8393a514647a0 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 28 Jul 2009 10:34:52 +0200 Subject: Import shibboleth ds 1.1.0 --- LICENSE.txt | 174 ++ cpappend.bat | 19 + doc/CREDITS.txt | 42 + doc/INSTALL.txt | 18 + doc/README.txt | 19 + doc/RELEASE-NOTES.txt | 20 + doc/api/allclasses-frame.html | 75 + doc/api/allclasses-noframe.html | 75 + doc/api/constant-values.html | 207 +++ doc/api/deprecated-list.html | 143 ++ .../common/ShibbolethConfigurationException.html | 267 +++ .../ShibbolethConfigurationException.html | 193 ++ .../shibboleth/common/package-frame.html | 33 + .../shibboleth/common/package-summary.html | 155 ++ .../middleware/shibboleth/common/package-tree.html | 155 ++ .../middleware/shibboleth/common/package-use.html | 167 ++ .../shibboleth/wayf/DiscoveryResponseBuilder.html | 312 ++++ .../shibboleth/wayf/DiscoveryResponseImpl.html | 420 +++++ .../wayf/DiscoveryResponseUnmarshaller.html | 298 +++ .../shibboleth/wayf/DiscoveryServiceHandler.html | 343 ++++ .../middleware/shibboleth/wayf/HandlerConfig.html | 414 +++++ .../shibboleth/wayf/IdPSite.Compare.html | 270 +++ .../middleware/shibboleth/wayf/IdPSite.html | 396 ++++ .../middleware/shibboleth/wayf/IdPSiteSet.html | 514 ++++++ .../shibboleth/wayf/IdPSiteSetEntry.html | 286 +++ .../wayf/LogbackConfigurationChangeListener.html | 353 ++++ .../shibboleth/wayf/LogbackLoggingService.html | 232 +++ .../middleware/shibboleth/wayf/Version.html | 256 +++ .../middleware/shibboleth/wayf/WayfException.html | 266 +++ .../middleware/shibboleth/wayf/WayfService.html | 316 ++++ .../middleware/shibboleth/wayf/XMLConstants.html | 304 ++++ .../wayf/class-use/DiscoveryResponseBuilder.html | 141 ++ .../wayf/class-use/DiscoveryResponseImpl.html | 187 ++ .../class-use/DiscoveryResponseUnmarshaller.html | 141 ++ .../wayf/class-use/DiscoveryServiceHandler.html | 141 ++ .../shibboleth/wayf/class-use/HandlerConfig.html | 203 +++ .../shibboleth/wayf/class-use/IdPSite.Compare.html | 141 ++ .../shibboleth/wayf/class-use/IdPSite.html | 447 +++++ .../shibboleth/wayf/class-use/IdPSiteSet.html | 193 ++ .../shibboleth/wayf/class-use/IdPSiteSetEntry.html | 141 ++ .../LogbackConfigurationChangeListener.html | 141 ++ .../wayf/class-use/LogbackLoggingService.html | 141 ++ .../shibboleth/wayf/class-use/Version.html | 141 ++ .../shibboleth/wayf/class-use/WayfException.html | 195 ++ .../shibboleth/wayf/class-use/WayfService.html | 141 ++ .../shibboleth/wayf/class-use/XMLConstants.html | 141 ++ .../middleware/shibboleth/wayf/package-frame.html | 70 + .../shibboleth/wayf/package-summary.html | 223 +++ .../middleware/shibboleth/wayf/package-tree.html | 194 ++ .../middleware/shibboleth/wayf/package-use.html | 230 +++ .../middleware/shibboleth/wayf/plugins/Plugin.html | 381 ++++ .../shibboleth/wayf/plugins/PluginContext.html | 179 ++ .../wayf/plugins/PluginMetadataParameter.html | 177 ++ .../wayf/plugins/WayfRequestHandled.html | 243 +++ .../shibboleth/wayf/plugins/class-use/Plugin.html | 232 +++ .../wayf/plugins/class-use/PluginContext.html | 318 ++++ .../plugins/class-use/PluginMetadataParameter.html | 329 ++++ .../wayf/plugins/class-use/WayfRequestHandled.html | 257 +++ .../shibboleth/wayf/plugins/package-frame.html | 48 + .../shibboleth/wayf/plugins/package-summary.html | 179 ++ .../shibboleth/wayf/plugins/package-tree.html | 160 ++ .../shibboleth/wayf/plugins/package-use.html | 246 +++ .../wayf/plugins/provider/BindingFilter.html | 270 +++ .../wayf/plugins/provider/ListFilter.html | 278 +++ .../provider/SamlCookiePlugin.SamlIdPCookie.html | 250 +++ .../wayf/plugins/provider/SamlCookiePlugin.html | 408 +++++ .../plugins/provider/class-use/BindingFilter.html | 141 ++ .../plugins/provider/class-use/ListFilter.html | 141 ++ .../class-use/SamlCookiePlugin.SamlIdPCookie.html | 141 ++ .../provider/class-use/SamlCookiePlugin.html | 141 ++ .../wayf/plugins/provider/package-frame.html | 37 + .../wayf/plugins/provider/package-summary.html | 164 ++ .../wayf/plugins/provider/package-tree.html | 153 ++ .../wayf/plugins/provider/package-use.html | 141 ++ doc/api/help-doc.html | 220 +++ doc/api/index-all.html | 472 +++++ doc/api/index.html | 40 + doc/api/options | 23 + doc/api/overview-frame.html | 49 + doc/api/overview-summary.html | 188 ++ doc/api/overview-tree.html | 201 +++ doc/api/package-list | 4 + doc/api/packages | 4 + doc/api/resources/inherit.gif | Bin 0 -> 57 bytes doc/api/serialized-form.html | 261 +++ doc/api/stylesheet.css | 29 + doc/src-xref/allclasses-frame.html | 92 + .../common/ShibbolethConfigurationException.html | 64 + .../shibboleth/common/package-frame.html | 24 + .../shibboleth/common/package-summary.html | 67 + .../shibboleth/wayf/DiscoveryResponseBuilder.html | 61 + .../shibboleth/wayf/DiscoveryResponseImpl.html | 63 + .../wayf/DiscoveryResponseUnmarshaller.html | 51 + .../shibboleth/wayf/DiscoveryServiceHandler.html | 1016 +++++++++++ .../middleware/shibboleth/wayf/HandlerConfig.html | 236 +++ .../middleware/shibboleth/wayf/IdPSite.html | 231 +++ .../middleware/shibboleth/wayf/IdPSiteSet.html | 577 ++++++ .../shibboleth/wayf/IdPSiteSetEntry.html | 71 + .../wayf/LogbackConfigurationChangeListener.html | 86 + .../shibboleth/wayf/LogbackLoggingService.html | 78 + .../middleware/shibboleth/wayf/Version.html | 45 + .../middleware/shibboleth/wayf/WayfException.html | 61 + .../middleware/shibboleth/wayf/WayfService.html | 332 ++++ .../middleware/shibboleth/wayf/XMLConstants.html | 47 + .../middleware/shibboleth/wayf/package-frame.html | 66 + .../shibboleth/wayf/package-summary.html | 137 ++ .../middleware/shibboleth/wayf/plugins/Plugin.html | 173 ++ .../shibboleth/wayf/plugins/PluginContext.html | 45 + .../wayf/plugins/PluginMetadataParameter.html | 44 + .../wayf/plugins/WayfRequestHandled.html | 31 + .../shibboleth/wayf/plugins/package-frame.html | 33 + .../shibboleth/wayf/plugins/package-summary.html | 82 + .../wayf/plugins/provider/BindingFilter.html | 190 ++ .../wayf/plugins/provider/ListFilter.html | 198 ++ .../wayf/plugins/provider/SamlCookiePlugin.html | 558 ++++++ .../wayf/plugins/provider/package-frame.html | 36 + .../wayf/plugins/provider/package-summary.html | 87 + doc/src-xref/index.html | 24 + doc/src-xref/overview-frame.html | 34 + doc/src-xref/overview-summary.html | 79 + doc/src-xref/stylesheet.css | 116 ++ doc/style/checkstyle.html | 55 + doc/style/css/maven-base.css | 140 ++ doc/style/css/maven-theme.css | 110 ++ doc/style/css/print.css | 7 + doc/style/images/add.gif | Bin 0 -> 207 bytes doc/style/images/collapsed.gif | Bin 0 -> 53 bytes doc/style/images/expanded.gif | Bin 0 -> 52 bytes doc/style/images/external-classic.png | Bin 0 -> 956 bytes doc/style/images/external.png | Bin 0 -> 230 bytes doc/style/images/file.gif | Bin 0 -> 152 bytes doc/style/images/fix.gif | Bin 0 -> 181 bytes doc/style/images/folder-closed.gif | Bin 0 -> 220 bytes doc/style/images/folder-open.gif | Bin 0 -> 229 bytes doc/style/images/help_logo.gif | Bin 0 -> 2113 bytes doc/style/images/icon_alert.gif | Bin 0 -> 1120 bytes doc/style/images/icon_alertsml.gif | Bin 0 -> 154 bytes doc/style/images/icon_arrowfolder1_sml.gif | Bin 0 -> 1082 bytes doc/style/images/icon_arrowfolder2_sml.gif | Bin 0 -> 1080 bytes doc/style/images/icon_arrowfolderclosed1_sml.gif | Bin 0 -> 441 bytes doc/style/images/icon_arrowfolderopen2_sml.gif | Bin 0 -> 664 bytes doc/style/images/icon_arrowmembers1_sml.gif | Bin 0 -> 1073 bytes doc/style/images/icon_arrowmembers2_sml.gif | Bin 0 -> 1072 bytes doc/style/images/icon_arrowusergroups1_sml.gif | Bin 0 -> 1072 bytes doc/style/images/icon_arrowusergroups2_sml.gif | Bin 0 -> 1076 bytes doc/style/images/icon_arrowwaste1_sml.gif | Bin 0 -> 606 bytes doc/style/images/icon_arrowwaste2_sml.gif | Bin 0 -> 609 bytes doc/style/images/icon_confirmsml.gif | Bin 0 -> 94 bytes doc/style/images/icon_doc_lrg.gif | Bin 0 -> 1335 bytes doc/style/images/icon_doc_sml.gif | Bin 0 -> 355 bytes doc/style/images/icon_error_lrg.gif | Bin 0 -> 1531 bytes doc/style/images/icon_error_sml.gif | Bin 0 -> 1010 bytes doc/style/images/icon_folder_lrg.gif | Bin 0 -> 1548 bytes doc/style/images/icon_folder_sml.gif | Bin 0 -> 634 bytes doc/style/images/icon_help_lrg.gif | Bin 0 -> 1418 bytes doc/style/images/icon_help_sml.gif | Bin 0 -> 1019 bytes doc/style/images/icon_info_lrg.gif | Bin 0 -> 1383 bytes doc/style/images/icon_info_sml.gif | Bin 0 -> 606 bytes doc/style/images/icon_infosml.gif | Bin 0 -> 77 bytes doc/style/images/icon_members_lrg.gif | Bin 0 -> 1570 bytes doc/style/images/icon_members_sml.gif | Bin 0 -> 1023 bytes doc/style/images/icon_sortdown.gif | Bin 0 -> 117 bytes doc/style/images/icon_sortleft.gif | Bin 0 -> 121 bytes doc/style/images/icon_sortright.gif | Bin 0 -> 122 bytes doc/style/images/icon_sortup.gif | Bin 0 -> 117 bytes doc/style/images/icon_success_lrg.gif | Bin 0 -> 1492 bytes doc/style/images/icon_success_sml.gif | Bin 0 -> 990 bytes doc/style/images/icon_usergroups_lrg.gif | Bin 0 -> 1520 bytes doc/style/images/icon_usergroups_sml.gif | Bin 0 -> 1026 bytes doc/style/images/icon_warning_lrg.gif | Bin 0 -> 1491 bytes doc/style/images/icon_warning_sml.gif | Bin 0 -> 576 bytes doc/style/images/icon_waste_lrg.gif | Bin 0 -> 780 bytes doc/style/images/icon_waste_sml.gif | Bin 0 -> 562 bytes doc/style/images/logos/maven-feather.png | Bin 0 -> 2907 bytes doc/style/images/newwindow-classic.png | Bin 0 -> 951 bytes doc/style/images/newwindow.png | Bin 0 -> 220 bytes doc/style/images/none.png | Bin 0 -> 946 bytes doc/style/images/nw_maj.gif | Bin 0 -> 49 bytes doc/style/images/nw_maj_hi.gif | Bin 0 -> 51 bytes doc/style/images/nw_maj_rond.gif | Bin 0 -> 51 bytes doc/style/images/nw_med.gif | Bin 0 -> 48 bytes doc/style/images/nw_med_hi.gif | Bin 0 -> 47 bytes doc/style/images/nw_med_rond.gif | Bin 0 -> 46 bytes doc/style/images/nw_min.gif | Bin 0 -> 51 bytes doc/style/images/nw_min_036.gif | Bin 0 -> 45 bytes doc/style/images/nw_min_hi.gif | Bin 0 -> 46 bytes doc/style/images/pdf.gif | Bin 0 -> 950 bytes doc/style/images/poweredby_036.gif | Bin 0 -> 808 bytes doc/style/images/product_logo.gif | Bin 0 -> 680 bytes doc/style/images/remove.gif | Bin 0 -> 227 bytes doc/style/images/rss.png | Bin 0 -> 360 bytes doc/style/images/se_maj_rond.gif | Bin 0 -> 50 bytes doc/style/images/strich.gif | Bin 0 -> 43 bytes doc/style/images/sw_maj_rond.gif | Bin 0 -> 51 bytes doc/style/images/sw_med_rond.gif | Bin 0 -> 46 bytes doc/style/images/sw_min.gif | Bin 0 -> 45 bytes doc/style/images/update.gif | Bin 0 -> 192 bytes doc/unitTest/css/maven-base.css | 140 ++ doc/unitTest/css/maven-theme.css | 110 ++ doc/unitTest/css/print.css | 7 + doc/unitTest/images/add.gif | Bin 0 -> 207 bytes doc/unitTest/images/collapsed.gif | Bin 0 -> 53 bytes doc/unitTest/images/expanded.gif | Bin 0 -> 52 bytes doc/unitTest/images/external-classic.png | Bin 0 -> 956 bytes doc/unitTest/images/external.png | Bin 0 -> 230 bytes doc/unitTest/images/file.gif | Bin 0 -> 152 bytes doc/unitTest/images/fix.gif | Bin 0 -> 181 bytes doc/unitTest/images/folder-closed.gif | Bin 0 -> 220 bytes doc/unitTest/images/folder-open.gif | Bin 0 -> 229 bytes doc/unitTest/images/help_logo.gif | Bin 0 -> 2113 bytes doc/unitTest/images/icon_alert.gif | Bin 0 -> 1120 bytes doc/unitTest/images/icon_alertsml.gif | Bin 0 -> 154 bytes doc/unitTest/images/icon_arrowfolder1_sml.gif | Bin 0 -> 1082 bytes doc/unitTest/images/icon_arrowfolder2_sml.gif | Bin 0 -> 1080 bytes .../images/icon_arrowfolderclosed1_sml.gif | Bin 0 -> 441 bytes doc/unitTest/images/icon_arrowfolderopen2_sml.gif | Bin 0 -> 664 bytes doc/unitTest/images/icon_arrowmembers1_sml.gif | Bin 0 -> 1073 bytes doc/unitTest/images/icon_arrowmembers2_sml.gif | Bin 0 -> 1072 bytes doc/unitTest/images/icon_arrowusergroups1_sml.gif | Bin 0 -> 1072 bytes doc/unitTest/images/icon_arrowusergroups2_sml.gif | Bin 0 -> 1076 bytes doc/unitTest/images/icon_arrowwaste1_sml.gif | Bin 0 -> 606 bytes doc/unitTest/images/icon_arrowwaste2_sml.gif | Bin 0 -> 609 bytes doc/unitTest/images/icon_confirmsml.gif | Bin 0 -> 94 bytes doc/unitTest/images/icon_doc_lrg.gif | Bin 0 -> 1335 bytes doc/unitTest/images/icon_doc_sml.gif | Bin 0 -> 355 bytes doc/unitTest/images/icon_error_lrg.gif | Bin 0 -> 1531 bytes doc/unitTest/images/icon_error_sml.gif | Bin 0 -> 1010 bytes doc/unitTest/images/icon_folder_lrg.gif | Bin 0 -> 1548 bytes doc/unitTest/images/icon_folder_sml.gif | Bin 0 -> 634 bytes doc/unitTest/images/icon_help_lrg.gif | Bin 0 -> 1418 bytes doc/unitTest/images/icon_help_sml.gif | Bin 0 -> 1019 bytes doc/unitTest/images/icon_info_lrg.gif | Bin 0 -> 1383 bytes doc/unitTest/images/icon_info_sml.gif | Bin 0 -> 606 bytes doc/unitTest/images/icon_infosml.gif | Bin 0 -> 77 bytes doc/unitTest/images/icon_members_lrg.gif | Bin 0 -> 1570 bytes doc/unitTest/images/icon_members_sml.gif | Bin 0 -> 1023 bytes doc/unitTest/images/icon_sortdown.gif | Bin 0 -> 117 bytes doc/unitTest/images/icon_sortleft.gif | Bin 0 -> 121 bytes doc/unitTest/images/icon_sortright.gif | Bin 0 -> 122 bytes doc/unitTest/images/icon_sortup.gif | Bin 0 -> 117 bytes doc/unitTest/images/icon_success_lrg.gif | Bin 0 -> 1492 bytes doc/unitTest/images/icon_success_sml.gif | Bin 0 -> 990 bytes doc/unitTest/images/icon_usergroups_lrg.gif | Bin 0 -> 1520 bytes doc/unitTest/images/icon_usergroups_sml.gif | Bin 0 -> 1026 bytes doc/unitTest/images/icon_warning_lrg.gif | Bin 0 -> 1491 bytes doc/unitTest/images/icon_warning_sml.gif | Bin 0 -> 576 bytes doc/unitTest/images/icon_waste_lrg.gif | Bin 0 -> 780 bytes doc/unitTest/images/icon_waste_sml.gif | Bin 0 -> 562 bytes doc/unitTest/images/logos/maven-feather.png | Bin 0 -> 2907 bytes doc/unitTest/images/newwindow-classic.png | Bin 0 -> 951 bytes doc/unitTest/images/newwindow.png | Bin 0 -> 220 bytes doc/unitTest/images/none.png | Bin 0 -> 946 bytes doc/unitTest/images/nw_maj.gif | Bin 0 -> 49 bytes doc/unitTest/images/nw_maj_hi.gif | Bin 0 -> 51 bytes doc/unitTest/images/nw_maj_rond.gif | Bin 0 -> 51 bytes doc/unitTest/images/nw_med.gif | Bin 0 -> 48 bytes doc/unitTest/images/nw_med_hi.gif | Bin 0 -> 47 bytes doc/unitTest/images/nw_med_rond.gif | Bin 0 -> 46 bytes doc/unitTest/images/nw_min.gif | Bin 0 -> 51 bytes doc/unitTest/images/nw_min_036.gif | Bin 0 -> 45 bytes doc/unitTest/images/nw_min_hi.gif | Bin 0 -> 46 bytes doc/unitTest/images/pdf.gif | Bin 0 -> 950 bytes doc/unitTest/images/poweredby_036.gif | Bin 0 -> 808 bytes doc/unitTest/images/product_logo.gif | Bin 0 -> 680 bytes doc/unitTest/images/remove.gif | Bin 0 -> 227 bytes doc/unitTest/images/se_maj_rond.gif | Bin 0 -> 50 bytes doc/unitTest/images/strich.gif | Bin 0 -> 43 bytes doc/unitTest/images/sw_maj_rond.gif | Bin 0 -> 51 bytes doc/unitTest/images/sw_med_rond.gif | Bin 0 -> 46 bytes doc/unitTest/images/sw_min.gif | Bin 0 -> 45 bytes doc/unitTest/images/update.gif | Bin 0 -> 192 bytes doc/unitTest/surefire-report.html | 69 + endorsed/resolver-2.9.1.jar | Bin 0 -> 84091 bytes endorsed/serializer-2.9.1.jar | Bin 0 -> 278286 bytes endorsed/xalan-2.7.1.jar | Bin 0 -> 3176148 bytes endorsed/xercesImpl-2.9.1.jar | Bin 0 -> 1229289 bytes endorsed/xml-apis-2.9.1.jar | Bin 0 -> 194354 bytes install.bat | 40 + install.sh | 94 + lib/antlr-2.7.2.jar | Bin 0 -> 358273 bytes lib/bcprov-ext-jdk15-1.40.jar | Bin 0 -> 1603682 bytes lib/commons-beanutils-1.7.0.jar | Bin 0 -> 188671 bytes lib/commons-chain-1.1.jar | Bin 0 -> 90001 bytes lib/commons-codec-1.3.jar | Bin 0 -> 46725 bytes lib/commons-collections-3.1.jar | Bin 0 -> 559366 bytes lib/commons-digester-1.8.jar | Bin 0 -> 143602 bytes lib/commons-httpclient-3.1.jar | Bin 0 -> 305001 bytes lib/commons-lang-2.1.jar | Bin 0 -> 207723 bytes lib/commons-validator-1.3.1.jar | Bin 0 -> 138956 bytes lib/jargs-1.0.jar | Bin 0 -> 11406 bytes lib/jcip-annotations-1.0.jar | Bin 0 -> 2254 bytes lib/jcl-over-slf4j-1.5.5.jar | Bin 0 -> 16746 bytes lib/joda-time-1.5.2.jar | Bin 0 -> 531326 bytes lib/log4j-over-slf4j-1.5.5.jar | Bin 0 -> 9665 bytes lib/logback-classic-0.9.13.jar | Bin 0 -> 146846 bytes lib/logback-core-0.9.13.jar | Bin 0 -> 219456 bytes lib/not-yet-commons-ssl-0.3.9.jar | Bin 0 -> 260555 bytes lib/opensaml-2.2.3.jar | Bin 0 -> 1249375 bytes lib/openws-1.2.2.jar | Bin 0 -> 119232 bytes lib/oro-2.0.8.jar | Bin 0 -> 65261 bytes lib/shibboleth-discovery-service-1.1.0.jar | Bin 0 -> 56599 bytes lib/slf4j-api-1.5.6.jar | Bin 0 -> 22338 bytes lib/struts-core-1.3.9.jar | Bin 0 -> 329359 bytes lib/struts-taglib-1.3.9.jar | Bin 0 -> 251209 bytes lib/velocity-1.5.jar | Bin 0 -> 392124 bytes lib/xmlsec-1.4.2.jar | Bin 0 -> 444503 bytes lib/xmltooling-1.2.0.jar | Bin 0 -> 577978 bytes src/installer/lib/ant-1.7.0.jar | Bin 0 -> 1289806 bytes src/installer/lib/ant-contrib-1.0b2.jar | Bin 0 -> 194050 bytes src/installer/lib/ant-launcher-1.7.0.jar | Bin 0 -> 11734 bytes src/installer/lib/ant-nodeps-1.7.0.jar | Bin 0 -> 430311 bytes src/installer/resources/build.xml | 68 + src/installer/resources/install.properties | 1 + src/installer/resources/logging.xml | 50 + src/installer/resources/wayfconfig.xml | 159 ++ src/main/webapp/WEB-INF/tlds/struts-bean.tld | 1153 ++++++++++++ src/main/webapp/WEB-INF/tlds/struts-logic.tld | 1893 ++++++++++++++++++++ src/main/webapp/WEB-INF/web.xml | 55 + src/main/webapp/images/incommon.gif | Bin 0 -> 975 bytes src/main/webapp/images/internet2.gif | Bin 0 -> 1204 bytes src/main/webapp/images/logo.jpg | Bin 0 -> 13660 bytes src/main/webapp/index.htm | 5 + src/main/webapp/wayf.css | 104 ++ src/main/webapp/wayf.jsp | 547 ++++++ src/main/webapp/wayferror.jsp | 38 + 325 files changed, 26579 insertions(+) create mode 100644 LICENSE.txt create mode 100644 cpappend.bat create mode 100644 doc/CREDITS.txt create mode 100644 doc/INSTALL.txt create mode 100644 doc/README.txt create mode 100644 doc/RELEASE-NOTES.txt create mode 100644 doc/api/allclasses-frame.html create mode 100644 doc/api/allclasses-noframe.html create mode 100644 doc/api/constant-values.html create mode 100644 doc/api/deprecated-list.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/common/ShibbolethConfigurationException.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/common/class-use/ShibbolethConfigurationException.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/common/package-frame.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/common/package-summary.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/common/package-tree.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/common/package-use.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseBuilder.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseImpl.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseUnmarshaller.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/HandlerConfig.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/IdPSite.Compare.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/IdPSite.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/IdPSiteSet.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/IdPSiteSetEntry.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/LogbackConfigurationChangeListener.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/LogbackLoggingService.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/Version.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/WayfException.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/WayfService.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/XMLConstants.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/DiscoveryResponseBuilder.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/DiscoveryResponseImpl.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/DiscoveryResponseUnmarshaller.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/DiscoveryServiceHandler.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/HandlerConfig.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/IdPSite.Compare.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/IdPSite.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/IdPSiteSet.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/IdPSiteSetEntry.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/LogbackConfigurationChangeListener.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/LogbackLoggingService.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/Version.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/WayfException.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/WayfService.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/class-use/XMLConstants.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/package-frame.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/package-summary.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/package-tree.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/package-use.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/Plugin.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/PluginContext.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/PluginMetadataParameter.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/WayfRequestHandled.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/class-use/Plugin.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/class-use/PluginContext.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/class-use/PluginMetadataParameter.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/class-use/WayfRequestHandled.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/package-frame.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/package-summary.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/package-tree.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/package-use.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/BindingFilter.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/ListFilter.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/SamlCookiePlugin.SamlIdPCookie.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/SamlCookiePlugin.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/class-use/BindingFilter.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/class-use/ListFilter.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/class-use/SamlCookiePlugin.SamlIdPCookie.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/class-use/SamlCookiePlugin.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/package-frame.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/package-summary.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/package-tree.html create mode 100644 doc/api/edu/internet2/middleware/shibboleth/wayf/plugins/provider/package-use.html create mode 100644 doc/api/help-doc.html create mode 100644 doc/api/index-all.html create mode 100644 doc/api/index.html create mode 100644 doc/api/options create mode 100644 doc/api/overview-frame.html create mode 100644 doc/api/overview-summary.html create mode 100644 doc/api/overview-tree.html create mode 100644 doc/api/package-list create mode 100644 doc/api/packages create mode 100644 doc/api/resources/inherit.gif create mode 100644 doc/api/serialized-form.html create mode 100644 doc/api/stylesheet.css create mode 100644 doc/src-xref/allclasses-frame.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/common/ShibbolethConfigurationException.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/common/package-frame.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/common/package-summary.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/HandlerConfig.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/IdPSite.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/IdPSiteSet.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/IdPSiteSetEntry.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/LogbackConfigurationChangeListener.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/LogbackLoggingService.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/Version.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/WayfException.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/WayfService.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/XMLConstants.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/package-frame.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/package-summary.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/Plugin.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/PluginContext.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/PluginMetadataParameter.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/WayfRequestHandled.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/package-frame.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/package-summary.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/provider/BindingFilter.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/provider/ListFilter.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/provider/SamlCookiePlugin.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/provider/package-frame.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/plugins/provider/package-summary.html create mode 100644 doc/src-xref/index.html create mode 100644 doc/src-xref/overview-frame.html create mode 100644 doc/src-xref/overview-summary.html create mode 100644 doc/src-xref/stylesheet.css create mode 100644 doc/style/checkstyle.html create mode 100644 doc/style/css/maven-base.css create mode 100644 doc/style/css/maven-theme.css create mode 100644 doc/style/css/print.css create mode 100644 doc/style/images/add.gif create mode 100644 doc/style/images/collapsed.gif create mode 100644 doc/style/images/expanded.gif create mode 100644 doc/style/images/external-classic.png create mode 100644 doc/style/images/external.png create mode 100644 doc/style/images/file.gif create mode 100644 doc/style/images/fix.gif create mode 100644 doc/style/images/folder-closed.gif create mode 100644 doc/style/images/folder-open.gif create mode 100644 doc/style/images/help_logo.gif create mode 100644 doc/style/images/icon_alert.gif create mode 100644 doc/style/images/icon_alertsml.gif create mode 100644 doc/style/images/icon_arrowfolder1_sml.gif create mode 100644 doc/style/images/icon_arrowfolder2_sml.gif create mode 100644 doc/style/images/icon_arrowfolderclosed1_sml.gif create mode 100644 doc/style/images/icon_arrowfolderopen2_sml.gif create mode 100644 doc/style/images/icon_arrowmembers1_sml.gif create mode 100644 doc/style/images/icon_arrowmembers2_sml.gif create mode 100644 doc/style/images/icon_arrowusergroups1_sml.gif create mode 100644 doc/style/images/icon_arrowusergroups2_sml.gif create mode 100644 doc/style/images/icon_arrowwaste1_sml.gif create mode 100644 doc/style/images/icon_arrowwaste2_sml.gif create mode 100644 doc/style/images/icon_confirmsml.gif create mode 100644 doc/style/images/icon_doc_lrg.gif create mode 100644 doc/style/images/icon_doc_sml.gif create mode 100644 doc/style/images/icon_error_lrg.gif create mode 100644 doc/style/images/icon_error_sml.gif create mode 100644 doc/style/images/icon_folder_lrg.gif create mode 100644 doc/style/images/icon_folder_sml.gif create mode 100644 doc/style/images/icon_help_lrg.gif create mode 100644 doc/style/images/icon_help_sml.gif create mode 100644 doc/style/images/icon_info_lrg.gif create mode 100644 doc/style/images/icon_info_sml.gif create mode 100644 doc/style/images/icon_infosml.gif create mode 100644 doc/style/images/icon_members_lrg.gif create mode 100644 doc/style/images/icon_members_sml.gif create mode 100644 doc/style/images/icon_sortdown.gif create mode 100644 doc/style/images/icon_sortleft.gif create mode 100644 doc/style/images/icon_sortright.gif create mode 100644 doc/style/images/icon_sortup.gif create mode 100644 doc/style/images/icon_success_lrg.gif create mode 100644 doc/style/images/icon_success_sml.gif create mode 100644 doc/style/images/icon_usergroups_lrg.gif create mode 100644 doc/style/images/icon_usergroups_sml.gif create mode 100644 doc/style/images/icon_warning_lrg.gif create mode 100644 doc/style/images/icon_warning_sml.gif create mode 100644 doc/style/images/icon_waste_lrg.gif create mode 100644 doc/style/images/icon_waste_sml.gif create mode 100644 doc/style/images/logos/maven-feather.png create mode 100644 doc/style/images/newwindow-classic.png create mode 100644 doc/style/images/newwindow.png create mode 100644 doc/style/images/none.png create mode 100644 doc/style/images/nw_maj.gif create mode 100644 doc/style/images/nw_maj_hi.gif create mode 100644 doc/style/images/nw_maj_rond.gif create mode 100644 doc/style/images/nw_med.gif create mode 100644 doc/style/images/nw_med_hi.gif create mode 100644 doc/style/images/nw_med_rond.gif create mode 100644 doc/style/images/nw_min.gif create mode 100644 doc/style/images/nw_min_036.gif create mode 100644 doc/style/images/nw_min_hi.gif create mode 100644 doc/style/images/pdf.gif create mode 100644 doc/style/images/poweredby_036.gif create mode 100644 doc/style/images/product_logo.gif create mode 100644 doc/style/images/remove.gif create mode 100644 doc/style/images/rss.png create mode 100644 doc/style/images/se_maj_rond.gif create mode 100644 doc/style/images/strich.gif create mode 100644 doc/style/images/sw_maj_rond.gif create mode 100644 doc/style/images/sw_med_rond.gif create mode 100644 doc/style/images/sw_min.gif create mode 100644 doc/style/images/update.gif create mode 100644 doc/unitTest/css/maven-base.css create mode 100644 doc/unitTest/css/maven-theme.css create mode 100644 doc/unitTest/css/print.css create mode 100644 doc/unitTest/images/add.gif create mode 100644 doc/unitTest/images/collapsed.gif create mode 100644 doc/unitTest/images/expanded.gif create mode 100644 doc/unitTest/images/external-classic.png create mode 100644 doc/unitTest/images/external.png create mode 100644 doc/unitTest/images/file.gif create mode 100644 doc/unitTest/images/fix.gif create mode 100644 doc/unitTest/images/folder-closed.gif create mode 100644 doc/unitTest/images/folder-open.gif create mode 100644 doc/unitTest/images/help_logo.gif create mode 100644 doc/unitTest/images/icon_alert.gif create mode 100644 doc/unitTest/images/icon_alertsml.gif create mode 100644 doc/unitTest/images/icon_arrowfolder1_sml.gif create mode 100644 doc/unitTest/images/icon_arrowfolder2_sml.gif create mode 100644 doc/unitTest/images/icon_arrowfolderclosed1_sml.gif create mode 100644 doc/unitTest/images/icon_arrowfolderopen2_sml.gif create mode 100644 doc/unitTest/images/icon_arrowmembers1_sml.gif create mode 100644 doc/unitTest/images/icon_arrowmembers2_sml.gif create mode 100644 doc/unitTest/images/icon_arrowusergroups1_sml.gif create mode 100644 doc/unitTest/images/icon_arrowusergroups2_sml.gif create mode 100644 doc/unitTest/images/icon_arrowwaste1_sml.gif create mode 100644 doc/unitTest/images/icon_arrowwaste2_sml.gif create mode 100644 doc/unitTest/images/icon_confirmsml.gif create mode 100644 doc/unitTest/images/icon_doc_lrg.gif create mode 100644 doc/unitTest/images/icon_doc_sml.gif create mode 100644 doc/unitTest/images/icon_error_lrg.gif create mode 100644 doc/unitTest/images/icon_error_sml.gif create mode 100644 doc/unitTest/images/icon_folder_lrg.gif create mode 100644 doc/unitTest/images/icon_folder_sml.gif create mode 100644 doc/unitTest/images/icon_help_lrg.gif create mode 100644 doc/unitTest/images/icon_help_sml.gif create mode 100644 doc/unitTest/images/icon_info_lrg.gif create mode 100644 doc/unitTest/images/icon_info_sml.gif create mode 100644 doc/unitTest/images/icon_infosml.gif create mode 100644 doc/unitTest/images/icon_members_lrg.gif create mode 100644 doc/unitTest/images/icon_members_sml.gif create mode 100644 doc/unitTest/images/icon_sortdown.gif create mode 100644 doc/unitTest/images/icon_sortleft.gif create mode 100644 doc/unitTest/images/icon_sortright.gif create mode 100644 doc/unitTest/images/icon_sortup.gif create mode 100644 doc/unitTest/images/icon_success_lrg.gif create mode 100644 doc/unitTest/images/icon_success_sml.gif create mode 100644 doc/unitTest/images/icon_usergroups_lrg.gif create mode 100644 doc/unitTest/images/icon_usergroups_sml.gif create mode 100644 doc/unitTest/images/icon_warning_lrg.gif create mode 100644 doc/unitTest/images/icon_warning_sml.gif create mode 100644 doc/unitTest/images/icon_waste_lrg.gif create mode 100644 doc/unitTest/images/icon_waste_sml.gif create mode 100644 doc/unitTest/images/logos/maven-feather.png create mode 100644 doc/unitTest/images/newwindow-classic.png create mode 100644 doc/unitTest/images/newwindow.png create mode 100644 doc/unitTest/images/none.png create mode 100644 doc/unitTest/images/nw_maj.gif create mode 100644 doc/unitTest/images/nw_maj_hi.gif create mode 100644 doc/unitTest/images/nw_maj_rond.gif create mode 100644 doc/unitTest/images/nw_med.gif create mode 100644 doc/unitTest/images/nw_med_hi.gif create mode 100644 doc/unitTest/images/nw_med_rond.gif create mode 100644 doc/unitTest/images/nw_min.gif create mode 100644 doc/unitTest/images/nw_min_036.gif create mode 100644 doc/unitTest/images/nw_min_hi.gif create mode 100644 doc/unitTest/images/pdf.gif create mode 100644 doc/unitTest/images/poweredby_036.gif create mode 100644 doc/unitTest/images/product_logo.gif create mode 100644 doc/unitTest/images/remove.gif create mode 100644 doc/unitTest/images/se_maj_rond.gif create mode 100644 doc/unitTest/images/strich.gif create mode 100644 doc/unitTest/images/sw_maj_rond.gif create mode 100644 doc/unitTest/images/sw_med_rond.gif create mode 100644 doc/unitTest/images/sw_min.gif create mode 100644 doc/unitTest/images/update.gif create mode 100644 doc/unitTest/surefire-report.html create mode 100644 endorsed/resolver-2.9.1.jar create mode 100644 endorsed/serializer-2.9.1.jar create mode 100644 endorsed/xalan-2.7.1.jar create mode 100644 endorsed/xercesImpl-2.9.1.jar create mode 100644 endorsed/xml-apis-2.9.1.jar create mode 100644 install.bat create mode 100644 install.sh create mode 100644 lib/antlr-2.7.2.jar create mode 100644 lib/bcprov-ext-jdk15-1.40.jar create mode 100644 lib/commons-beanutils-1.7.0.jar create mode 100644 lib/commons-chain-1.1.jar create mode 100644 lib/commons-codec-1.3.jar create mode 100644 lib/commons-collections-3.1.jar create mode 100644 lib/commons-digester-1.8.jar create mode 100644 lib/commons-httpclient-3.1.jar create mode 100644 lib/commons-lang-2.1.jar create mode 100644 lib/commons-validator-1.3.1.jar create mode 100644 lib/jargs-1.0.jar create mode 100644 lib/jcip-annotations-1.0.jar create mode 100644 lib/jcl-over-slf4j-1.5.5.jar create mode 100644 lib/joda-time-1.5.2.jar create mode 100644 lib/log4j-over-slf4j-1.5.5.jar create mode 100644 lib/logback-classic-0.9.13.jar create mode 100644 lib/logback-core-0.9.13.jar create mode 100644 lib/not-yet-commons-ssl-0.3.9.jar create mode 100644 lib/opensaml-2.2.3.jar create mode 100644 lib/openws-1.2.2.jar create mode 100644 lib/oro-2.0.8.jar create mode 100644 lib/shibboleth-discovery-service-1.1.0.jar create mode 100644 lib/slf4j-api-1.5.6.jar create mode 100644 lib/struts-core-1.3.9.jar create mode 100644 lib/struts-taglib-1.3.9.jar create mode 100644 lib/velocity-1.5.jar create mode 100644 lib/xmlsec-1.4.2.jar create mode 100644 lib/xmltooling-1.2.0.jar create mode 100644 src/installer/lib/ant-1.7.0.jar create mode 100644 src/installer/lib/ant-contrib-1.0b2.jar create mode 100644 src/installer/lib/ant-launcher-1.7.0.jar create mode 100644 src/installer/lib/ant-nodeps-1.7.0.jar create mode 100644 src/installer/resources/build.xml create mode 100644 src/installer/resources/install.properties create mode 100644 src/installer/resources/logging.xml create mode 100644 src/installer/resources/wayfconfig.xml create mode 100644 src/main/webapp/WEB-INF/tlds/struts-bean.tld create mode 100644 src/main/webapp/WEB-INF/tlds/struts-logic.tld create mode 100644 src/main/webapp/WEB-INF/web.xml create mode 100644 src/main/webapp/images/incommon.gif create mode 100644 src/main/webapp/images/internet2.gif create mode 100644 src/main/webapp/images/logo.jpg create mode 100644 src/main/webapp/index.htm create mode 100644 src/main/webapp/wayf.css create mode 100644 src/main/webapp/wayf.jsp create mode 100644 src/main/webapp/wayferror.jsp diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..338979d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,174 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. \ No newline at end of file diff --git a/cpappend.bat b/cpappend.bat new file mode 100644 index 0000000..9f606aa --- /dev/null +++ b/cpappend.bat @@ -0,0 +1,19 @@ +rem --------------------------------------------------------------------------- +rem Append to CLASSPATH +rem +rem $Id$ +rem --------------------------------------------------------------------------- + +rem Process the first argument +if ""%1"" == """" goto end +set LOCALCLASSPATH=%LOCALCLASSPATH%;%1 +shift + +rem Process the remaining arguments +:setArgs +if ""%1"" == """" goto doneSetArgs +set LOCALCLASSPATH=%LOCALCLASSPATH% %1 +shift +goto setArgs +:doneSetArgs +:end diff --git a/doc/CREDITS.txt b/doc/CREDITS.txt new file mode 100644 index 0000000..23cde66 --- /dev/null +++ b/doc/CREDITS.txt @@ -0,0 +1,42 @@ +Shibboleth Implementation Team + + Documentation + + Nate Klingenstein + Internet2 + + Chad La Joie + SWITCH + + Programming + + Scott Cantor + The Ohio State University + + Jim Fox + University of Washington + + Chad La Joie + SWITCH + + Will Norris + University of Southern California + + Rod Widdowson + University of Edinburgh + + Project Management + + RL "Bob" Morgan + University of Washington + + Steven Carmody + Brown University + + Ken Klingenstein + Internet2 + + +Thanks to: + + Internet2 \ No newline at end of file diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt new file mode 100644 index 0000000..8ca3ae0 --- /dev/null +++ b/doc/INSTALL.txt @@ -0,0 +1,18 @@ +3-Mar-08 +Version 1.0 Release Candidate 3 + +Shibboleth Discovery Service Installation + +Prior to installation you may need to configure the system as described in deployment guide. +This is currently available at: + +https://spaces.internet2.edu/display/SHIB/DiscoveryService + +Specifically you may need to edit webpages\wayf.jsp and +src/conf/wayfconfig.xml. With no configuration the DiscoveryService +deploys an internet2 branded GUI and looks for metadata in the file +"/usr/local/sites.xml" (unix) and "%systemdrive%:\usr\local\sites.xml" +(Windows) + +Then run ant in the top level directory to build the war file suitable +for deploying into your container. \ No newline at end of file diff --git a/doc/README.txt b/doc/README.txt new file mode 100644 index 0000000..4b8e45a --- /dev/null +++ b/doc/README.txt @@ -0,0 +1,19 @@ +Welcome to Internet2's Shibboleth + +Shibboleth is a federated web authentication and attribute exchange system +based on SAML developed by Internet2 and MACE. + +Shibboleth is licensed under the Apache 2.0 license which is provided in the +LICENSE.txt file. + +Shibboleth Project Site: +http://shibboleth.internet2.edu/ + +Shibboleth Documentation Site: +https://spaces.internet2.edu/display/SHIB2/Home + +Source and binary distributions +http://shibboleth.internet2.edu/downloads + +Bug Tracker: +https://bugs.internet2.edu/jira \ No newline at end of file diff --git a/doc/RELEASE-NOTES.txt b/doc/RELEASE-NOTES.txt new file mode 100644 index 0000000..07aa43f --- /dev/null +++ b/doc/RELEASE-NOTES.txt @@ -0,0 +1,20 @@ +Changes in Release 1.1.0 +============================================= +[SDSJ-22] - wayf.jsp: Invalid loaction of tag and + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/installer/resources/install.properties b/src/installer/resources/install.properties new file mode 100644 index 0000000..c37d1c1 --- /dev/null +++ b/src/installer/resources/install.properties @@ -0,0 +1 @@ +ds.home = /etc/DiscoveryService \ No newline at end of file diff --git a/src/installer/resources/logging.xml b/src/installer/resources/logging.xml new file mode 100644 index 0000000..77fefd6 --- /dev/null +++ b/src/installer/resources/logging.xml @@ -0,0 +1,50 @@ + + + + + + + $DS_HOME$/logs/discoveryService.log + true + + + $DS_HOME$/logs/discovery-%d{yyyy-MM-dd}.log + + + + %date{HH:mm:ss.SSS} %level [%logger] %msg%n%ex{full}%n + + + + + true + + %date{HH:mm:ss.SSS} %level [%logger] %msg%n%ex{full}%n + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/installer/resources/wayfconfig.xml b/src/installer/resources/wayfconfig.xml new file mode 100644 index 0000000..1cd22d7 --- /dev/null +++ b/src/installer/resources/wayfconfig.xml @@ -0,0 +1,159 @@ + + + + + + + + Institution + University + State + School + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/webapp/WEB-INF/tlds/struts-bean.tld b/src/main/webapp/WEB-INF/tlds/struts-bean.tld new file mode 100644 index 0000000..7e95a46 --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/struts-bean.tld @@ -0,0 +1,1153 @@ + + + + + 1.3 + 1.2 + bean + http://struts.apache.org/tags-bean + + Note: Some of the features in this taglib are also + available in the JavaServer Pages Standard Tag Library (JSTL). + The Struts team encourages the use of the standard tags over the Struts + specific tags when possible.

+ +

This tag library contains tags useful in accessing beans and their + properties, as well as defining new beans (based on these accesses) + that are accessible to the remainder of the page via scripting variables + and page scope attributes. Convenient mechanisms to create new beans + based on the value of request cookies, headers, and parameters are also + provided.

+ +

Many of the tags in this tag library will throw a + JspException at runtime when they are utilized incorrectly + (such as when you specify an invalid combination of tag attributes). JSP + allows you to declare an "error page" in the <%@ page %> + directive. If you wish to process the actual exception that caused the + problem, it is passed to the error page as a request attribute under key + org.apache.struts.action.EXCEPTION.

+ + ]]> +
+ + cookie + org.apache.struts.taglib.bean.CookieTag + org.apache.struts.taglib.bean.CookieTei + empty + + + Define a scripting variable based on the value(s) of the specified + request cookie. +

+ +

Retrieve the value of the specified request cookie (as a single + value or multiple values, depending on the multiple attribute), + and define the result as a page scope attribute of type Cookie + (if multiple is not specified) or Cookie[] + (if multiple is specified).

+ +

If no cookie with the specified name can be located, and no default + value is specified, a request time exception will be thrown.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated page + scope attribute) that will be made available with the value of the + specified request cookie.

+ ]]> +
+
+ + multiple + false + true + + If any arbitrary value for this attribute is specified, causes all + matching cookies to be accumulated and stored into a bean of type + Cookie[]. If not specified, the first value for the + specified cookie will be retrieved as a value of type + Cookie.

+ ]]> +
+
+ + name + true + true + + Specifies the name of the request cookie whose value, or values, + is to be retrieved.

+ ]]> +
+
+ + value + false + true + + The default cookie value to return if no cookie with the + specified name was included in this request.

+ ]]> +
+
+
+ + define + org.apache.struts.taglib.bean.DefineTag + org.apache.struts.taglib.bean.DefineTei + JSP + + + Define a scripting variable based on the value(s) of the specified + bean property. +

+ +

Create a new attribute (in the scope specified by the + toScope property, if any), and a corresponding scripting + variable, both of which are named by the value of the id + attribute. The corresponding value to which this new attribute (and + scripting variable) is set are specified via use of exactly one of the + following approaches (trying to use more than one will result in a + JspException being thrown):

+
    +
  • Specify a name attribute (plus optional + property and scope attributes) - + The created attribute and scripting variable will be of the type of the + retrieved JavaBean property, unless it is a Java primitive type, + in which case it will be wrapped in the appropriate wrapper class + (i.e. int is wrapped by java.lang.Integer).
  • +
  • Specify a value attribute - The created attribute and + scripting variable will be of type java.lang.String, + set to the value of this attribute.
  • +
  • Specify nested body content - The created attribute and scripting + variable will be of type java.lang.String, set to + the value of the nested body content.
  • +
+ +

If a problem occurs while retrieving the specified bean property, a + request time exception will be thrown.

+ +

The <bean:define> tag differs from + <jsp:useBean> in several ways, including:

+
    +
  • Unconditionally creates (or replaces) a bean under the + specified identifier.
  • +
  • Can create a bean with the value returned by a property getter + of a different bean (including properties referenced with a + nested and/or indexed property name).
  • +
  • Can create a bean whose contents is a literal string (or the result + of a runtime expression) specified by the value + attribute.
  • +
  • Does not support nested content (such as + <jsp:setProperty> tags) that are only executed + if a bean was actually created.
  • +
+ +

USAGE NOTE - There is a restriction in the JSP 1.1 + Specification that disallows using the same value for an id + attribute more than once in a single JSP page. Therefore, you will not + be able to use <bean:define> for the same bean + name more than once in a single page.

+ +

USAGE NOTE - If you use another tag to create the + body content (e.g. bean:write), that tag must return a non-empty String. + An empty String equates to an empty body or a null String, and a new + scripting variable cannot be defined as null. Your bean must return a + non-empty String, or the define tag must be wrapped within a logic tag + to test for an empty or null value.

+ +

USAGE NOTE - You cannot use bean:define to instantiate + a DynaActionForm (type="org.apache.struts.action.DynaActionForm") with + the properties specified in the struts-config. The mechanics of creating + the dyna-properties is complex and cannot be handled by a no-argument + constructor. If you need to create an ActionForm this way, you must use + a conventional ActionForm. +

+ +

See the Bean Developer's Guide section on + + bean creation for more information about these differences, as well + as alternative approaches to introducing beans into a JSP page.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated page + scope attribute) that will be made available with the value of the + specified property.

+ ]]> +
+
+ + name + false + true + + Specifies the attribute name of the bean whose property is accessed + to define a new page scope attribute (if property is also + specified) or the attribute name of the bean that is duplicated with + the new reference created by this tag (if property is not + also specified). This attribute is required unless you specify + a value attribute or nested body content.

+ ]]> +
+
+ + property + false + true + + Specifies the name of the property to be accessed on the bean + specified by name. This value may be a simple, indexed, + or nested property reference expression. If not specified, the bean + identified by name is given a new reference identified by + id.

+ ]]> +
+
+ + scope + false + true + + Specifies the variable scope searched to retrieve the bean specified + by name. If not specified, the default rules applied by + PageContext.findAttribute() are applied.

+ ]]> +
+
+ + toScope + false + true + + Specifies the variable scope into which the newly defined bean will + be created. If not specified, the bean will be created in + page scope.

+ ]]> +
+
+ + type + false + true + + Specifies the fully qualified class name of the value to be exposed + as the id attribute.

+ ]]> +
+
+ + value + false + true + + The java.lang.String value to which the exposed bean + should be set. This attribute is required unless you specify the + name attribute or nested body content.

+ ]]> +
+
+
+ + header + org.apache.struts.taglib.bean.HeaderTag + org.apache.struts.taglib.bean.HeaderTei + empty + + + Define a scripting variable based on the value(s) of the specified + request header. +

+ +

Retrieve the value of the specified request header (as a single + value or multiple values, depending on the multiple attribute), + and define the result as a page scope attribute of type String + (if multiple is not specified) or String[] + (if multiple is specified).

+ +

If no header with the specified name can be located, and no default + value is specified, a request time exception will be thrown.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated page + scope attribute) that will be made available with the value of the + specified request header.

+ ]]> +
+
+ + multiple + false + true + + If any arbitrary value for this attribute is specified, causes a call + to HttpServletRequest.getHeaders() and a definition of the + result as a bean of type String[]. Otherwise, + HttpServletRequest.getHeader() will be called, and a + definition of the result as a bean of type String + will be performed.

+ ]]> +
+
+ + name + true + true + + Specifies the name of the request header whose value, or values, + is to be retrieved.

+ ]]> +
+
+ + value + false + true + + The default header value to return if no header with the + specified name was included in this request.

+ ]]> +
+
+
+ + include + org.apache.struts.taglib.bean.IncludeTag + org.apache.struts.taglib.bean.IncludeTei + empty + + + Load the response from a dynamic application request and make it available + as a bean. +

+ +

Perform an internal dispatch to the specified application component + (or external URL) + and make the response data from that request available as a bean of + type String. This tag has a function similar to that of + the standard <jsp:include> tag, except that the + response data is stored in a page scope attribute instead of being + written to the output stream. If the current request is part of a + session, the generated request for the include will also include the + session identifier (and thus be part of the same session).

+ +

The URL used to access the specified application component is + calculated based on which of the following attributes you specify + (you must specify exactly one of them):

+
    +
  • forward - Use the value of this attribute as the name + of a global ActionForward to be looked up, and + use the module-relative or context-relative URI found there.
  • +
  • href - Use the value of this attribute unchanged (since + this might link to a resource external to the application, the + session identifier is not included.
  • +
  • page - Use the value of this attribute as an + module-relative URI to the desired resource.
  • +
+ ]]> +
+ + anchor + false + true + + Optional anchor tag ("#xxx") to be added to the generated + hyperlink. Specify this value without any + "#" character.

+ ]]> +
+
+ + forward + false + true + + Logical name of a global ActionForward that contains + the actual content-relative URI of the resource to be included.

+ ]]> +
+
+ + href + false + true + + Absolute URL (including the appropriate protocol prefix such as + "http:") of the resource to be included. Because this URL could be + external to the current web application, the session identifier will + not be included in the request.

+ ]]> +
+
+ + id + true + false + + Specifies the name of the scripting variable (and associated page + scope attribute) that will be made available with the value of the + specified web application resource.

+ ]]> +
+
+ + page + false + true + + Module-relative URI (starting with a '/') of the web application + resource to be included.

+ ]]> +
+
+ + transaction + false + true + boolean + + Set to true if you want the current + transaction control token included in the generated + URL for this include.

+ ]]> +
+
+
+ + message + org.apache.struts.taglib.bean.MessageTag + empty + + + Render an internationalized message string to the response. +

+ +

Retrieves an internationalized message for the specified locale, + using the specified message key, and write it to the output stream. + Up to five parametric replacements (such as "{0}") may be specified.

+ +

The message key may be specified directly, using the key + attribute, or indirectly, using the name and + property attributes to obtain it from a bean.

+ +

+ JSTL: The equivalent JSTL tag is <fmt:message>. For example, +
+ + <fmt:message key="my.msg.key"> + <fmt:param value="replacement text"/> + </fmt:message> + +

+ ]]> +
+ + arg0 + false + true + + First parametric replacement value, if any.

+ ]]> +
+
+ + arg1 + false + true + + Second parametric replacement value, if any.

+ ]]> +
+
+ + arg2 + false + true + + Third parametric replacement value, if any.

+ ]]> +
+
+ + arg3 + false + true + + Fourth parametric replacement value, if any.

+ ]]> +
+
+ + arg4 + false + true + + Fifth parametric replacement value, if any.

+ ]]> +
+
+ + bundle + false + true + + The name of the application scope bean under which the + MessageResources object containing our messages + is stored.

+ ]]> +
+
+ + key + false + true + + The message key of the requested message, which must have + a corresponding value in the message resources. If not specified, + the key is obtained from the name and + property attributes.

+ ]]> +
+
+ + locale + false + true + + The name of the session scope bean under which our currently + selected Locale object is stored.

+ ]]> +
+
+ + name + false + true + + Specifies the attribute name of the bean whose property is accessed + to retrieve the value specified by property (if + specified). If property is not specified, the value of + this bean itself will be used as the message resource key.

+ ]]> +
+
+ + property + false + true + + Specifies the name of the property to be accessed on the bean + specified by name. This value may be a simple, indexed, + or nested property reference expression. If not specified, the value + of the bean identified by name will itself be used as the + message resource key.

+ ]]> +
+
+ + scope + false + true + + Specifies the variable scope searched to retrieve the bean specified + by name. If not specified, the default rules applied by + PageContext.findAttribute() are applied.

+ ]]> +
+
+
+ + page + org.apache.struts.taglib.bean.PageTag + org.apache.struts.taglib.bean.PageTei + empty + + + Expose a specified item from the page context as a bean. +

+ +

Retrieve the value of the specified item from the page context + for this page, and define it as a scripting variable, and a page scope + attribute accessible to the remainder of the current page.

+ +

If a problem occurs while retrieving the specified configuration + object, a request time exception will be thrown.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated + page scope attribute) that will be made available with the value of + the specified page context property.

+ ]]> +
+
+ + property + true + true + + Name of the property from our page context to be retrieved and + exposed. Must be one of application, config, + request, response, or session. +

+ ]]> +
+
+
+ + parameter + org.apache.struts.taglib.bean.ParameterTag + org.apache.struts.taglib.bean.ParameterTei + empty + + + Define a scripting variable based on the value(s) of the specified + request parameter. +

+ +

Retrieve the value of the specified request parameter (as a single + value or multiple values, depending on the multiple attribute), + and define the result as a page scope attribute of type String + (if multiple is not specified) or String[] + (if multiple is specified).

+ +

If no request parameter with the specified name can be located, and + no default value is specified, a request time exception will be thrown.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated page + scope attribute) that will be made available with the value of the + specified request parameter.

+ ]]> +
+
+ + multiple + false + true + + If any arbitrary value for this attribute is specified, causes a call + to ServletRequest.getParameterValues() and a definition of + the result as a bean of type String[]. Otherwise, + ServletRequest.getParameter() will be called, and a + definition of the result as a bean of type String + will be performed.

+ ]]> +
+
+ + name + true + true + + Specifies the name of the request parameter whose value, or values, + is to be retrieved.

+ ]]> +
+
+ + value + false + true + + The default parameter value to return if no parameter with the + specified name was included in this request.

+ ]]> +
+
+
+ + resource + org.apache.struts.taglib.bean.ResourceTag + org.apache.struts.taglib.bean.ResourceTei + empty + + + Load a web application resource and make it available as a bean. +

+ +

Retrieve the value of the specified web application resource, and make + it available as either a InputStream or a String, + depending on the value of the input attribute.

+ +

If a problem occurs while retrieving the specified resource, a + request time exception will be thrown.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated page + scope attribute) that will be made available with the value of the + specified web application resource.

+ ]]> +
+
+ + input + false + true + + If any arbitrary value for this attribute is specified, the resource + will be made available as an InputStream. If this + attribute is not specified, the resource will be made available + as a String.

+ ]]> +
+
+ + name + true + true + + Module-relative name (starting with a '/') of the web application + resource to be loaded and made available.

+ ]]> +
+
+
+ + size + org.apache.struts.taglib.bean.SizeTag + org.apache.struts.taglib.bean.SizeTei + empty + + + Define a bean containing the number of elements in a Collection or Map. +

+ +

Given a reference to an array, Collection or Map, creates a new bean, of + type java.lang.Integer, whose value is the number of elements + in that collection. You can specify the collection to be counted in any + one of the following ways:

+
    +
  • As a runtime expression specified as the value of the + collection attribute.
  • +
  • As a JSP bean specified by the name attribute.
  • +
  • As the property, specified by the property attribute, + of the JSP bean specified by the name attribute.
  • +
+ ]]> +
+ + collection + false + true + java.lang.Object + + A runtime expression that evaluates to an array, a Collection, or + a Map.

+ ]]> +
+
+ + id + true + false + + The name of a page scope JSP bean, of type + java.lang.Integer, that will be created to contain the + size of the underlying collection being counted.

+ ]]> +
+
+ + name + false + true + + The name of the JSP bean (optionally constrained to the scope + specified by the scope attribute) that contains the + collection to be counted (if property is not specified), + or whose property getter is called to return the collection to be + counted (if property is specified.

+ ]]> +
+
+ + property + false + true + + The name of the property, of the bean specified by the + name attribute, whose getter method will return the + collection to be counted.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the JSP bean specified + by the name attribute. If not specified, the available + scopes are searched in ascending sequence.

+ ]]> +
+
+
+ + struts + org.apache.struts.taglib.bean.StrutsTag + org.apache.struts.taglib.bean.StrutsTei + empty + + + Expose a named Struts internal configuration object as a bean. +

+ +

Retrieve the value of the specified Struts internal configuration + object, and define it as a scripting variable and as a page scope + attribute accessible to the remainder of the current page. You must + specify exactly one of the formBean, forward, + and mapping attributes to select the configuration object + to be exposed.

+ +

If a problem occurs while retrieving the specified configuration + object, a request time exception will be thrown.

+ ]]> +
+ + id + true + false + + Specifies the name of the scripting variable (and associated + page scope attribute) that will be made available with the value of + the specified Struts internal configuration object.

+ ]]> +
+
+ + formBean + false + true + + Specifies the name of the Struts ActionFormBean + definition object to be exposed.

+ ]]> +
+
+ + forward + false + true + + Specifies the name of the global Struts ActionForward + definition object to be exposed.

+ ]]> +
+
+ + mapping + false + true + + Specifies the matching path of the Struts ActionMapping + definition object to be exposed.

+ ]]> +
+
+
+ + write + org.apache.struts.taglib.bean.WriteTag + empty + + + Render the value of the specified bean property to the current + JspWriter. +

+ +

Retrieve the value of the specified bean property, and render it to the + current JspWriter as a String by the ways:

+
    +
  • If format attribute exists then value will be formatted on base of format + string from format attribute and default system locale.
  • +
  • If in resources exists format string for value data type (view format + attribute description) then value will be formatted on base of format string + from resources. Resources bundle and target locale can be specified with + bundle and locale attributes. If nothing specified then + default resource bundle and current user locale will be used.
  • +
  • If there is a PropertyEditor configured for the property value's class, the + getAsText() method will be called.
  • +
  • Otherwise, the usual toString() conversions will be applied.
  • +
+

When a format string is provided, numeric values are formatted using the + java.text.DecimalFormat class; if the format string came from + a resource, the applyLocalisedPattern() method is used, and + applyPattern() is used otherwise. Dates are formatted using + the SimpleDateFormat class. For details of the specific format + patterns, please see the Javadocs for those classes.

+

If a problem occurs while retrieving the specified bean property, a + request time exception will be thrown.

+ ]]> +
+ + bundle + false + true + + The name of the application scope bean under which the + MessageResources object containing our messages + is stored.

+ ]]> +
+
+ + filter + false + true + boolean + + If this attribute is set to true, the rendered property + value will be filtered for characters that are sensitive in HTML, and any + such characters will be replaced by their entity equivalents.

+ ]]> +
+
+ + format + false + true + + Specifies the format string to use to convert bean or property value + to the String. If nothing specified, then default format + string for value data type will be searched in message resources by + according key.

+ + ]]> +
+
+ + formatKey + false + true + + Specifies the key to search format string in application resources.

+ ]]> +
+
+ + ignore + false + true + boolean + + If this attribute is set to true, and the bean specified + by the name and scope attributes does not + exist, simply return without writing anything. If this attribute is + set to false, a runtime exception to be thrown, + consistent with the other tags in this tag library.

+ ]]> +
+
+ + locale + false + true + + The name of the session scope bean under which our currently + selected Locale object is stored.

+ ]]> +
+
+ + name + true + true + + Specifies the attribute name of the bean whose property is accessed + to retrieve the value specified by property (if + specified). If property is not specified, the value of + this bean itself will be rendered.

+ ]]> +
+
+ + property + false + true + + Specifies the name of the property to be accessed on the bean + specified by name. This value may be a simple, indexed, + or nested property reference expression. If not specified, the bean + identified by name will itself be rendered. If the + specified property returns null, no output will be rendered.

+ ]]> +
+
+ + scope + false + true + + Specifies the variable scope searched to retrieve the bean specified + by name. If not specified, the default rules applied by + PageContext.findAttribute() are applied.

+ ]]> +
+
+
+
+ + + diff --git a/src/main/webapp/WEB-INF/tlds/struts-logic.tld b/src/main/webapp/WEB-INF/tlds/struts-logic.tld new file mode 100644 index 0000000..fe638ae --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/struts-logic.tld @@ -0,0 +1,1893 @@ + + + + + 1.3 + 1.2 + logic + http://struts.apache.org/tags-logic + + Note: Some of the features in this taglib are also + available in the JavaServer Pages Standard Tag Library (JSTL). + The Struts team encourages the use of the standard tags over the Struts + specific tags when possible.

+ +

This tag library contains tags that are useful in managing conditional + generation of output text, looping over object collections for + repetitive generation of output text, and application flow management.

+ +

For tags that do value comparisons (equal, + greaterEqual, greaterThan, lessEqual, + lessThan, notEqual), the following rules apply:

+
    +
  • The specified value is examined. If it can be converted successfully + to a double or a long, it is assumed that the + ultimate comparison will be numeric (either floating point or integer). + Otherwise, a String comparison will be performed.
  • +
  • The variable to be compared to is retrieved, based on the selector + attribute(s) (cookie, header, + name, parameter, property) + present on this tag. It will be converted to the appropriate type + for the comparison, as determined above.
  • +
  • If the specified variable or property returns null, it will be + coerced to a zero-length string before the comparison occurs.
  • +
  • The specific comparison for this tag will be performed, and the nested + body content of this tag will be evaluated if the comparison returns + a true result.
  • +
+ +

For tags that do substring matching (match, + notMatch), the following rules apply:

+
    +
  • The specified variable is retrieved, based on the selector attribute(s) + (cookie, header, name, + parameter, property) present on this tag. + The variable is converted to a String, if necessary.
  • +
  • A request time exception will be thrown if the specified variable + cannot be retrieved, or has a null value.
  • +
  • The specified value is checked for existence as a substring of the + variable, in the position specified by the location + attribute, as follows: at the beginning (if location is set to + start), at the end (if location is set to + end), or anywhere (if location is not specified).
  • +
+ +

Many of the tags in this tag library will throw a + JspException at runtime when they are utilized incorrectly + (such as when you specify an invalid combination of tag attributes). JSP + allows you to declare an "error page" in the <%@ page %> + directive. If you wish to process the actual exception that caused the + problem, it is passed to the error page as a request attribute under key + org.apache.struts.action.EXCEPTION.

+ + ]]> +
+ + empty + org.apache.struts.taglib.logic.EmptyTag + JSP + + + Evaluate the nested body content of this tag if the requested variable is + either null or an empty string. +

+ +

This tag evaluates its nested body content only if the specified value + is either absent (i.e. null), an empty string (i.e. a + java.lang.String with a length of zero), or an empty + java.util.Collection or java.util.Map (tested by + the .isEmpty() method on the respective interface).

+ +

+ JSTL: The equivalent JSTL tag is <c:if> using the + empty operator. For example, +
+ + <c:if test="${empty sessionScope.myBean.myProperty}"> + do something + </c:if> + +

+ +
Since:
+
Struts 1.1
+ ]]> +
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+
+ + equal + org.apache.struts.taglib.logic.EqualTag + JSP + + + Evaluate the nested body content of this tag if the requested + variable is equal to the specified value. +

+ +

Compares the variable specified by one of the selector attributes + against the specified constant value. The nested body content of this + tag is evaluated if the variable and value are equal. +

+ ]]> +
+ + cookie + false + true + + The variable to be compared is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be compared is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be compared is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value to which the variable, specified by other + attribute(s) of this tag, will be compared.

+ ]]> +
+
+
+ + forward + org.apache.struts.taglib.logic.ForwardTag + empty + + + Forward control to the page specified by the specified ActionForward + entry. +

+ +

Performs a PageContext.forward() or + HttpServletResponse.sendRedirect() call for the global + ActionForward entry for the specified name. URL + rewriting will occur automatically if a redirect is performed.

+ ]]> +
+ + name + true + true + + + The logical name of the global ActionForward entry + that identifies the destination, and forwarding approach, to be used. + Note: forwarding to Tiles definitions is not supported + from this tag. You should forward to them from an Action subclass. +

+ ]]> +
+
+
+ + greaterEqual + org.apache.struts.taglib.logic.GreaterEqualTag + JSP + + + Evaluate the nested body content of this tag if the requested + variable is greater than or equal to the specified value. +

+ +

Compares the variable specified by one of the selector attributes + against the specified constant value. The nested body content of this + tag is evaluated if the variable is greater than or equal + to the value.

+ ]]> +
+ + cookie + false + true + + The variable to be compared is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be compared is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be compared is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value to which the variable, specified by other + attribute(s) of this tag, will be compared.

+ ]]> +
+
+
+ + greaterThan + org.apache.struts.taglib.logic.GreaterThanTag + JSP + + + Evaluate the nested body content of this tag if the requested + variable is greater than the specified value. +

+ +

Compares the variable specified by one of the selector attributes + against the specified constant value. The nested body content of this + tag is evaluated if the variable is greater than + the value.

+ ]]> +
+ + cookie + false + true + + The variable to be compared is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be compared is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be compared is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value to which the variable, specified by other + attribute(s) of this tag, will be compared.

+ ]]> +
+
+
+ + iterate + org.apache.struts.taglib.logic.IterateTag + org.apache.struts.taglib.logic.IterateTei + JSP + + + Repeat the nested body content of this tag over a specified collection. +

+ +

Repeats the nested body content of this tag once for every element + of the specified collection, which must be an Iterator, + a Collection, a Map (whose values are to be + iterated over), or an array. The collection to be iterated over must be + specified in one of the following ways:

+
    +
  • As a runtime expression specified as the value of the + collection attribute.
  • +
  • As a JSP bean specified by the name attribute.
  • +
  • As the property, specified by the property, of the + JSP bean specified by the name attribute.
  • +
+ +

The collection to be iterated over MUST conform to one of the following + requirements in order for iteration to be successful:

+
    +
  • An array of Java objects or primitives.
  • + +
  • An implementation of java.util.Collection, including + ArrayList and Vector.
  • +
  • An implementation of java.util.Enumeration.
  • +
  • An implementation of java.util.Iterator.
  • +
  • An implementation of java.util.Map, including + HashMap, Hashtable, and + TreeMap. NOTE - See below for + additional information about accessing Maps.
  • +
+ +

Normally, each object exposed by the iterate tag is an element + of the underlying collection you are iterating over. However, if you + iterate over a Map, the exposed object is of type + Map.Entry that has two properties:

+
    +
  • key - The key under which this item is stored in the + underlying Map.
  • +
  • value - The value that corresponds to this key.
  • +
+ +

So, if you wish to iterate over the values of a Hashtable, you would + implement code like the following:

+ + <logic:iterate id="element" name="myhashtable">
+ Next element is <bean:write name="element" property="value"/>
+ </logic:iterate> +
+ +

If the collection you are iterating over can contain null + values, the loop will still be performed but no page scope attribute + (named by the id attribute) will be created for that loop + iteration. You can use the <logic:present> and + <logic:notPresent> tags to test for this case.

+ + ]]> +
+ + collection + false + true + java.lang.Object + + A runtime expression that evaluates to a collection (conforming to + the requirements listed above) to be iterated over.

+ ]]> +
+
+ + id + true + false + + The name of a page scope JSP bean that will contain the current + element of the collection on each iteration, if it is not + null.

+ ]]> +
+
+ + indexId + false + false + + The name of a page scope JSP bean that will contain the current + index of the collection on each iteration.

+ ]]> +
+
+ + length + false + true + + The maximum number of entries (from the underlying collection) to be + iterated through on this page. This can be either an integer that + directly expresses the desired value, or the name of a JSP bean (in + any scope) of type java.lang.Integer that defines the + desired value. If not present, there will be no limit on the number + of iterations performed.

+ ]]> +
+
+ + name + false + true + + The name of the JSP bean containing the collection to be iterated + (if property is not specified), or the JSP bean whose + property getter returns the collection to be iterated (if + property is specified).

+ ]]> +
+
+ + offset + false + true + + The zero-relative index of the starting point at which entries from + the underlying collection will be iterated through. This can be either + an integer that directly expresses the desired value, or the name of a + JSP bean (in any scope) of type java.lang.Integer that + defines the desired value. If not present, zero is assumed (meaning + that the collection will be iterated from the beginning.

+ ]]> +
+
+ + property + false + true + + Name of the property, of the JSP bean specified by name, + whose getter returns the collection to be iterated.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + type + false + true + + Fully qualified Java class name of the element to be exposed through + the JSP bean named from the id attribute. If not present, + no type conversions will be performed. NOTE: The actual elements of + the collection must be assignment-compatible with this class, or a + request time ClassCastException will occur.

+ ]]> +
+
+
+ + lessEqual + org.apache.struts.taglib.logic.LessEqualTag + JSP + + + Evaluate the nested body content of this tag if the requested + variable is less than or equal to the specified value. +

+ +

Compares the variable specified by one of the selector attributes + against the specified constant value. The nested body content of this + tag is evaluated if the variable is less than or equal + to the value.

+ ]]> +
+ + cookie + false + true + + The variable to be compared is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be compared is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be compared is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value to which the variable, specified by other + attribute(s) of this tag, will be compared.

+ ]]> +
+
+
+ + lessThan + org.apache.struts.taglib.logic.LessThanTag + JSP + + + Evaluate the nested body content of this tag if the requested + variable is less than the specified value. +

+ +

Compares the variable specified by one of the selector attributes + against the specified constant value. The nested body content of this + tag is evaluated if the variable is less than + the value.

+ ]]> +
+ + cookie + false + true + + The variable to be compared is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be compared is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be compared is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value to which the variable, specified by other + attribute(s) of this tag, will be compared.

+ ]]> +
+
+
+ + match + org.apache.struts.taglib.logic.MatchTag + JSP + + + Evaluate the nested body content of this tag if the specified value + is an appropriate substring of the requested variable. +

+ +

Matches the variable specified by one of the selector attributes + (as a String) against the specified constant value. If the value is + a substring (appropriately limited by the location + attribute), the nested body content of this tag is evaluated.

+ ]]> +
+ + cookie + false + true + + The variable to be matched is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be matched is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + location + false + true + + If not specified, a match between the variable and the value may + occur at any position within the variable string. If specified, the + match must occur at the specified location (either start + or end) of the variable string.

+ ]]> +
+
+ + name + false + true + + The variable to be matched is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be matched is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be matched is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value which is checked for existence as a substring + of the specified variable.

+ ]]> +
+
+
+ + messagesNotPresent + + org.apache.struts.taglib.logic.MessagesNotPresentTag + JSP + + + Generate the nested body content of this tag if the specified + message is not present in any scope. +

+ +

Evaluates the nested body content of this tag if + an ActionMessages + object, ActionErrors object, a String, + or a String array is not present in any scope. If + such a bean is found, nothing will be rendered. +

+ +
Since:
+
Struts 1.1
+ ]]> +
+ + name + false + true + + The parameter key used to retrieve the message from page, request, + session or application scope.

+ ]]> +
+
+ + property + false + true + + Name of the property for which messages should be + retrieved. If not specified, all messages (regardless + of property) are retrieved. +

+ ]]> +
+
+ + message + false + true + + By default the tag will retrieve the bean it will + iterate over from the Globals.ERROR_KEY constant string, + but if this attribute is set to 'true' the bean + will be retrieved from the Globals.MESSAGE_KEY + constant string. Also if this is set to 'true', any value + assigned to the name attribute will be ignored. +

+ ]]> +
+
+
+ + messagesPresent + + org.apache.struts.taglib.logic.MessagesPresentTag + JSP + + + Generate the nested body content of this tag if the specified + message is present in any scope. +

+ +

Evaluates the nested body content of this tag if + an ActionMessages + object, ActionErrors object, a String, + or a String array is present in any scope. If + such a bean is not found, nothing will be rendered. +

+ +
Since:
+
Struts 1.1
+ ]]> +
+ + name + false + true + + The parameter key used to retrieve the message from page, request, + session, or application scope.

+ ]]> +
+
+ + property + false + true + + Name of the property for which messages should be + retrieved. If not specified, all messages (regardless + of property) are retrieved. +

+ ]]> +
+
+ + message + false + true + + By default the tag will retrieve the bean it will + iterate over from the Globals.ERROR_KEY constant string, + but if this attribute is set to 'true' the bean + will be retrieved from the Globals.MESSAGE_KEY + constant string. Also if this is set to 'true', any value + assigned to the name attribute will be ignored. +

+ ]]> +
+
+
+ + notEmpty + org.apache.struts.taglib.logic.NotEmptyTag + JSP + + + Evaluate the nested body content of this tag if the requested variable is + neither null, nor an empty string, nor an empty java.util.Collection + (tested by the .isEmpty() method on the java.util.Collection interface). +

+ +

This tag evaluates its nested body content only if the specified value + is present (i.e. not null) and is not an empty string (i.e. a + java.lang.String with a length of zero).

+ +

+ JSTL: The equivalent JSTL tag is <c:if> using the + ! empty operator. For example, +
+ + <c:if test="${ ! empty sessionScope.myBean.myProperty}"> + do something + </c:if> + +

+ ]]> +
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+
+ + notEqual + org.apache.struts.taglib.logic.NotEqualTag + JSP + + + Evaluate the nested body content of this tag if the requested + variable is not equal to the specified value. +

+ +

Compares the variable specified by one of the selector attributes + against the specified constant value. The nested body content of this + tag is evaluated if the variable and value are not equal. +

+ ]]> +
+ + cookie + false + true + + The variable to be compared is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be compared is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + The variable to be compared is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be compared is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be compared is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value to which the variable, specified by other + attribute(s) of this tag, will be compared.

+ ]]> +
+
+
+ + notMatch + org.apache.struts.taglib.logic.NotMatchTag + JSP + + + Evaluate the nested body content of this tag if the specified value + is not an appropriate substring of the requested variable. +

+ +

Matches the variable specified by one of the selector attributes + (as a String) against the specified constant value. If the value is + not a substring (appropriately limited by the location + attribute), the nested body content of this tag is evaluated.

+ ]]> +
+ + cookie + false + true + + The variable to be matched is the value of the cookie whose + name is specified by this attribute.

+ ]]> +
+
+ + header + false + true + + The variable to be matched is the value of the header whose + name is specified by this attribute. The name match is performed + in a case insensitive manner.

+ ]]> +
+
+ + location + false + true + + If not specified, a match between the variable and the value may + occur at any position within the variable string. If specified, the + match must occur at the specified location (either start + or end) of the variable string.

+ ]]> +
+
+ + name + false + true + + The variable to be matched is the JSP bean specified by this + attribute, if property is not specified, or the value + of the specified property of this bean, if property + is specified.

+ ]]> +
+
+ + parameter + false + true + + The variable to be matched is the first, or only, value of the + request parameter specified by this attribute.

+ ]]> +
+
+ + property + false + true + + The variable to be matched is the property (of the bean specified + by the name attribute) specified by this attribute. + The property reference can be simple, nested, and/or indexed.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + value + true + true + + The constant value which is checked for existence as a substring + of the specified variable.

+ ]]> +
+
+
+ + notPresent + org.apache.struts.taglib.logic.NotPresentTag + JSP + + + Generate the nested body content of this tag if the specified + value is not present in this request. +

+ +

Depending on which attribute is specified, this tag checks the + current request, and evaluates the nested body content of this tag + only if the specified value is not present. Only one + of the attributes may be used in one occurrence of this tag, unless + you use the property attribute, in which case the + name attribute is also required.

+ ]]> +
+ + cookie + false + true + + Checks for the existence of a cookie with the specified name.

+ ]]> +
+
+ + header + false + true + + Checks for the existence of an HTTP header with the specified + name. The name match is performed in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + Checks for the existence of a JSP bean, in any scope, with the + specified name. If property is also specified, checks + for a non-null property value for the specified property.

+ ]]> +
+
+ + parameter + false + true + + Checks for the existence of at least one occurrence of the + specified request parameter on this request, even if the parameter + value is a zero-length string.

+ ]]> +
+
+ + property + false + true + + Checks for the existence of a non-null property value, returned + by a property getter method on the JSP bean (in any scope) that is + specified by the name attribute. Property references + can be simple, nested, and/or indexed.

+ ]]> +
+
+ + role + false + true + + Checks whether the currently authenticated user (if any) has been + associated with the specified security role.

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + user + false + true + + Checks whether the currently authenticated user principal has the + specified name.

+ ]]> +
+
+
+ + present + org.apache.struts.taglib.logic.PresentTag + JSP + + + Generate the nested body content of this tag if the specified + value is present in this request. +

+ +

Depending on which attribute is specified, this tag checks the + current request, and evaluates the nested body content of this tag + only if the specified value is present. Only one + of the attributes may be used in one occurrence of this tag, unless + you use the property attribute, in which case the + name attribute is also required.

+ ]]> +
+ + cookie + false + true + + Checks for the existence of a cookie with the specified name.

+ ]]> +
+
+ + header + false + true + + Checks for the existence of an HTTP header with the specified + name. The name match is performed in a case insensitive manner.

+ ]]> +
+
+ + name + false + true + + Checks for the existence of a JSP bean, in any scope, with the + specified name. If property is also specified, checks + for a non-null property value for the specified property.

+ ]]> +
+
+ + parameter + false + true + + Checks for the existence of at least one occurrence of the + specified request parameter on this request, even if the parameter + value is a zero-length string.

+ ]]> +
+
+ + property + false + true + + Checks for the existence of a non-null property value, returned + by a property getter method on the JSP bean (in any scope) that is + specified by the name attribute. Property references + can be simple, nested, and/or indexed.

+ ]]> +
+
+ + role + false + true + + Checks whether the currently authenticated user (if any) has been + associated with any of the specified security roles. Use a comma-delimited + list to check for multiple roles. Example: + <logic:present role="role1,role2,role3"> + code..... + </logic:present>

+ ]]> +
+
+ + scope + false + true + + The bean scope within which to search for the bean named by the + name property, or "any scope" if not specified.

+ ]]> +
+
+ + user + false + true + + Checks whether the currently authenticated user principal has the + specified name.

+ ]]> +
+
+
+ + redirect + org.apache.struts.taglib.logic.RedirectTag + + Render an HTTP Redirect

+ + +

Performs an HttpServletResponse.sendRedirect() + call to the hyperlink specified by the attributes to this + tag. URL rewriting will be applied automatically, to + maintain session state in the absence of cookies.

+ +

The base URL for this redirect is calculated based on + which of the following attributes you specify (you must + specify exactly one of them):

+
    +
  • forward - Use the value of this attribute as the + name of a global ActionForward to be looked + up, and use the module-relative or context-relative + URI found there.
  • +
  • href - Use the value of this attribute unchanged. +
  • +
  • page - Use the value of this attribute as an + module-relative URI, and generate a server-relative + URI by including the context path.
  • +
+ +

Normally, the redirect you specify with one of the + attributes described in the previous paragraph will be left + unchanged (other than URL rewriting if necessary). However, + there are two ways you can append one or more dynamically + defined query parameters to the hyperlink -- specify a single + parameter with the paramId attribute (and its + associated attributes to select the value), or specify the + name (and optional property) + attributes to select a java.util.Map bean that + contains one or more parameter ids and corresponding values. +

+ +

To specify a single parameter, use the paramId + attribute to define the name of the request parameter to be + submitted. To specify the corresponding value, use one of the + following approaches:

+
    +
  • Specify only the paramName attribute + - The named JSP bean (optionally scoped by the value of the + paramScope attribute) must identify a value + that can be converted to a String.
  • +
  • Specify both the paramName and + paramProperty attributes - The specified + property getter method will be called on the JSP bean + identified by the paramName (and optional + paramScope) attributes, in order to select + a value that can be converted to a String.
  • +
+ +

If you prefer to specify a java.util.Map that + contains all of the request parameters to be added to the + hyperlink, use one of the following techniques:

+
    +
  • Specify only the name attribute - + The named JSP bean (optionally scoped by the value of + the scope attribute) must identify a + java.util.Map containing the parameters.
  • +
  • Specify both name and + property attributes - The specified + property getter method will be called on the bean + identified by the name (and optional + scope) attributes, in order to return the + java.util.Map containing the parameters.
  • +
+ +

As the Map is processed, the keys are assumed + to be the names of query parameters to be appended to the + hyperlink. The value associated with each key must be either + a String or a String array representing the parameter value(s). + If a String array is specified, more than one value for the + same query parameter name will be created.

+ ]]> +
+ + action + false + true + + Logical name of a global Action that + contains the actual content-relative URI of the destination + of this transfer. This hyperlink may be dynamically + modified by the inclusion of query parameters, as described + in the tag description. You must specify + exactly one of the action attribute, the + forward attribute, the + href attribute, + or the page attribute.

+ ]]> +
+
+ + anchor + false + true + + Optional anchor tag ("#xxx") to be added to the generated + hyperlink. Specify this value without any + "#" character.

+ ]]> +
+
+ + forward + false + true + + Logical name of a global ActionForward that + contains the actual content-relative URI of the destination + of this redirect. This URI may be dynamically + modified by the inclusion of query parameters, as described + in the tag description. You must specify + exactly one of the forward attribute, the + href attribute, the linkName + attribute, or the page attribute.

+ ]]> +
+
+ + href + false + true + + The URL to which this redirect will transfer control. + This URL may be dynamically modified + by the inclusion of query parameters, as described in the + tag description. You must specify + exactly one of the forward attribute, the + href attribute, the linkName + attribute, or the page attribute.

+ ]]> +
+
+ + name + false + true + + The name of a JSP bean that contains a Map + representing the query parameters (if property + is not specified), or a JSP bean whose property getter is + called to return a Map (if property + is specified).

+ ]]> +
+
+ + page + false + true + + The context-relative path (beginning with a "/" + character) to which this hyperlink will transfer control + if activated. This hyperlink may be dynamically modified + by the inclusion of query parameters, as described in the + tag description. You must specify exactly + one of the forward attribute, the + href attribute, the linkName + attribute, or the page attribute.

+ ]]> +
+
+ + paramId + false + true + + The name of the request parameter that will be dynamically + added to the generated hyperlink. The corresponding value is + defined by the paramName and (optional) + paramProperty attributes, optionally scoped by + the paramScope attribute

+ ]]> +
+
+ + paramName + false + true + + The name of a JSP bean that is a String containing the + value for the request parameter named by paramId + (if paramProperty is not specified), or a JSP + bean whose property getter is called to return a String + (if paramProperty is specified). The JSP bean + is constrained to the bean scope specified by the + paramScope property, if it is specified.

+ ]]> +
+
+ + paramProperty + false + true + + The name of a property of the bean specified by the + paramName attribute, whose return value must + be a String containing the value of the request parameter + (named by the paramId attribute) that will be + dynamically added to this hyperlink.

+ ]]> +
+
+ + paramScope + false + true + + The scope within which to search for the bean specified + by the paramName attribute. If not specified, + all scopes are searched.

+ ]]> +
+
+ + property + false + true + + The name of a property of the bean specified by the + name attribute, whose return value must be + a java.util.Map containing the query parameters + to be added to the hyperlink. You must + specify the name attribute if you specify + this attribute.

+ ]]> +
+
+ + scope + false + true + + The scope within which to search for the bean specified + by the name attribute. If not specified, all + scopes are searched.

+ ]]> +
+
+ + transaction + false + true + boolean + + Set to true if you want the current + transaction control token included in the generated + URL for this redirect.

+ ]]> +
+
+ + useLocalEncoding + false + true + boolean + + If set to true, LocalCharacterEncoding will be + used, that is, the characterEncoding set to the HttpServletResponse, + as prefered character encoding rather than UTF-8, when + URLEncoding is done on parameters of the URL.

+ ]]> +
+
+
+
+ + + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..c938b16 --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,55 @@ + + + + + + + + WAYF + Shibboleth WAYF Service + edu.internet2.middleware.shibboleth.wayf.WayfService + + WAYFConfigFileLocation + $DS_HOME$/conf/wayfconfig.xml + + + WAYFLogConfig + $DS_HOME$/conf/logging.xml + + + WAYFLogConfigPollFrequency + 300000 + + + + + + + WAYF + /WAYF + + + + WAYF + *.wayf + + + + WAYF + /DS + + + + WAYF + *.ds + + + + css + text/css + + diff --git a/src/main/webapp/images/incommon.gif b/src/main/webapp/images/incommon.gif new file mode 100644 index 0000000..01949cf Binary files /dev/null and b/src/main/webapp/images/incommon.gif differ diff --git a/src/main/webapp/images/internet2.gif b/src/main/webapp/images/internet2.gif new file mode 100644 index 0000000..74ecbcb Binary files /dev/null and b/src/main/webapp/images/internet2.gif differ diff --git a/src/main/webapp/images/logo.jpg b/src/main/webapp/images/logo.jpg new file mode 100644 index 0000000..c021e7f Binary files /dev/null and b/src/main/webapp/images/logo.jpg differ diff --git a/src/main/webapp/index.htm b/src/main/webapp/index.htm new file mode 100644 index 0000000..8825d6d --- /dev/null +++ b/src/main/webapp/index.htm @@ -0,0 +1,5 @@ + + + + + diff --git a/src/main/webapp/wayf.css b/src/main/webapp/wayf.css new file mode 100644 index 0000000..4056aa3 --- /dev/null +++ b/src/main/webapp/wayf.css @@ -0,0 +1,104 @@ +body { + background-color: #CCCCCC; + text-align: center; + color: #000000; + text-align: left; +} + +p { + font-size: 90%; +} + +li { + font-size: 100%; + list-style-type: none; +} + +h1 { + font-size: 135%; + font-weight: bold; + color: #FFFFFF; +} + +h2 { + font-size: 100%; + font-weight: bold; +} + +h3 { + font-size: 100%; + font-weight: normal; +} + +span.option { + font-size: 100%; + font-weight: bold; +} + +.error { + font-size: 100%; + color: #990000; +} + +.head { + max-width: 600px; + border-left-width: 2px; + border-right-width: 2px; + border-top-width: 2px; + border-bottom-width: 2px; + border-color: #000000; + border-style: solid; + background-color: #6688aa; + margin-top: 1em; + margin-bottom: 0; + margin-left: 1em; + margin-right: 1em; + padding-left: .75em; + padding-right: .75em; + padding-top: .5em; + padding-bottom: .5em; +} + +.selector { + max-width: 600px; + border-left-width: 2px; + border-right-width: 2px; + border-top-width: 0; + border-bottom-width: 0; + border-color: #000000; + border-style: solid; + background-color: #FFFFFF; + margin-top: 0; + margin-bottom: 0; + margin-left: 1em; + margin-right: 1em; + padding: .75em; +} + +.footer { + max-width: 600px; + border-left-width: 2px; + border-right-width: 2px; + border-top-width: 2px; + border-bottom-width: 2px; + border-color: #000000; + border-style: solid; + background-color: #FFFFFF; + margin-top: 0; + margin-bottom: 1em; + margin-left: 1em; + margin-right: 1em; + padding-left: .75em; + padding-right: .75em; + padding-top: .5em; + padding-bottom: .5em; +} + +span.warning { + font-size: 80%; +} + +.logo { + text-align: center; + margin-top: 1.5em; +} diff --git a/src/main/webapp/wayf.jsp b/src/main/webapp/wayf.jsp new file mode 100644 index 0000000..74ba11d --- /dev/null +++ b/src/main/webapp/wayf.jsp @@ -0,0 +1,547 @@ + + +<%@ page contentType="text/html;charset=UTF-8" %> + + +<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> +<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> + +<%request.setCharacterEncoding("UTF-8");%> +<%response.setCharacterEncoding("UTF-8");%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identity Provider Selection + + + +
+

+ +Select an identity provider + +

+
+ +
+

+ + + +The Service you are trying to reach requires that you +authenticate with your home institution, please select it from the +list below. + +

+ + +

+ +Recently used institutions: + +

+ + + + + + + +

+ + + + + + + ?entityID=<%= java.net.URLEncoder.encode(ei.toString(), "utf-8") %>&return=<%= java.net.URLEncoder.encode(re.toString(), "utf-8") %>&returnIDxParam=<%= java.net.URLEncoder.encode( returnIDParam.toString(), "utf-8" ) %>&cache=perm&action=selection&origin="> + + + + + + + + ?target=<%= java.net.URLEncoder.encode(targ.toString(),"utf-8") %>&shire=<%= java.net.URLEncoder.encode(shire.toString(),"utf-8") %>&providerId=<%= java.net.URLEncoder.encode(pid.toString(),"utf-8") %>&time=&cache=perm&action=selection&origin="> + + + +

+
+ + + + + + + +
+
+ + " /> + " /> + " /> + + " /> + + + + " /> + " /> + " /> + + +
+
+ +
+ +
+ +

+ +Choose from a list: + +

+ + + + +
"> +
+ + " /> + " /> + " /> + + " /> + + + + " /> + " /> + " /> + + + + + +
+
+
+
+ + + + + + + + +
"> +
+ + " /> + " /> + " /> + + " /> + + + + " /> + " /> + " /> + + + + + + + +
Federation Institution
+ + + +
+

+ + +

+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/wayferror.jsp b/src/main/webapp/wayferror.jsp new file mode 100644 index 0000000..a0cb29d --- /dev/null +++ b/src/main/webapp/wayferror.jsp @@ -0,0 +1,38 @@ + + + <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> + <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> + + + + + + + + Access System Failure + + + +
+Logo +

Inter-institutional Access System Failure

+
+ +

The inter-institutional access system experienced a technical failure.

+ +

Please email administrator's name and include the following error message:

+ + +

WAYF failure at ()

+ +

+
+ +

The DiscoveryService should not be called directly

+
+ + + + \ No newline at end of file -- cgit v1.1