diff --git a/build.xml b/build.xml index 4d10be9..f145396 100644 --- a/build.xml +++ b/build.xml @@ -425,17 +425,20 @@ - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + SourceID-Sample-SP + + + + MIICSjCCAbMCBD4coSAwDQYJKoZIhvcNAQEEBQAwbDEQMA4GA1UEBhMHVW5rbm93bjEQMA4GA1UECBMHVW5rbm93bjEQMA4GA1UEBxMHVW5rbm93bjEQMA4GA1UEChMHVW5rbm93bjEQMA4GA1UECxMHVW5rbm93bjEQMA4GA1UEAxMHVW5rbm93bjAeFw0wMzAxMDgyMjA3MjhaFw0wMzA0MDgyMjA3MjhaMGwxEDAOBgNVBAYTB1Vua25vd24xEDAOBgNVBAgTB1Vua25vd24xEDAOBgNVBAcTB1Vua25vd24xEDAOBgNVBAoTB1Vua25vd24xEDAOBgNVBAsTB1Vua25vd24xEDAOBgNVBAMTB1Vua25vd24wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMJhokczPBJlZe48d5oKZiX6vo7DBU5b54t9JjSHLOEZd0XK5w81BY4iX8QADMc7GyTrqDDrehfh4S5eQO89Fll50D4f6HpSI2QGtionDrj3kuET9nW9n98IzWc3eiLLH+5q3VGm04rylo4PTnJCeMYmDRqYJkWR1xQbNsrv9HHJAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAI16O969XJkYRJaTiPXMcJg8XRM9oHKqc4L6YEDXGvnQ8NfTPDuJEzKIcU8QWNnprcY+MOue+O2YvP7u9NQuKK4zDA14CcIRb8G+VMLFa2A+BYiD66yIBWsb89YNFYnvH379wGp+ankQBTdljpgFo6Bt+fXmZxB6mToBdXy0h5b8= + + + + http://localhost:8080/sso-sample-sp/sso/authnRequest + http://localhost:8080/sso-sample-sp/sso/soap/endpoint + http://localhost:8080/sso-sample-sp/sso/logout + http://localhost:8080/sso-sample-sp/sso/logout + http://localhost:8080/sso-sample-sp/sso/fedterm + http://localhost:8080/sso-sample-sp/sso/fedterm + + http://projectliberty.org/profiles/fedterm-idp-soap + http://projectliberty.org/profiles/fedterm-idp-http + http://projectliberty.org/profiles/slo-idp-soap + http://projectliberty.org/profiles/slo-idp-http + http://projectliberty.org/profiles/slo-idp-http-get + http://projectliberty.org/profiles/rni-idp-soap + http://localhost:8080/sourceid-sso/sso/rni + http://localhost:8080/sourceid-sso/sso/rni + http://projectliberty.org/profiles/rni-idp-http + false + + + + + + SourceID-Sample-IDP + + + + MIICSjCCAbMCBD4coSAwDQYJKoZIhvcNAQEEBQAwbDEQMA4GA1UEBhMHVW5rbm93bjEQMA4GA1UECBMHVW5rbm93bjEQMA4GA1UEBxMHVW5rbm93bjEQMA4GA1UEChMHVW5rbm93bjEQMA4GA1UECxMHVW5rbm93bjEQMA4GA1UEAxMHVW5rbm93bjAeFw0wMzAxMDgyMjA3MjhaFw0wMzA0MDgyMjA3MjhaMGwxEDAOBgNVBAYTB1Vua25vd24xEDAOBgNVBAgTB1Vua25vd24xEDAOBgNVBAcTB1Vua25vd24xEDAOBgNVBAoTB1Vua25vd24xEDAOBgNVBAsTB1Vua25vd24xEDAOBgNVBAMTB1Vua25vd24wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMJhokczPBJlZe48d5oKZiX6vo7DBU5b54t9JjSHLOEZd0XK5w81BY4iX8QADMc7GyTrqDDrehfh4S5eQO89Fll50D4f6HpSI2QGtionDrj3kuET9nW9n98IzWc3eiLLH+5q3VGm04rylo4PTnJCeMYmDRqYJkWR1xQbNsrv9HHJAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAI16O969XJkYRJaTiPXMcJg8XRM9oHKqc4L6YEDXGvnQ8NfTPDuJEzKIcU8QWNnprcY+MOue+O2YvP7u9NQuKK4zDA14CcIRb8G+VMLFa2A+BYiD66yIBWsb89YNFYnvH379wGp+ankQBTdljpgFo6Bt+fXmZxB6mToBdXy0h5b8= + + + + http://localhost:8080/sso-sample-idp/sso/soap/endpoint + http://localhost:8080/sso-sample-idp/sso/logout + http://localhost:8080/sso-sample-idp/sso/logout + http://localhost:8080/sso-sample-idp/sso/fedterm + http://localhost:8080/sso-sample-idp/sso/fedterm + http://localhost:8080/sso-sample-idp/sso/authn + + http://projectliberty.org/profiles/rni-sp-soap + http://projectliberty.org/profiles/fedterm-sp-soap + http://projectliberty.org/profiles/fedterm-sp-http + http://projectliberty.org/profiles/slo-sp-soap + http://projectliberty.org/profiles/slo-sp-http + http://projectliberty.org/profiles/brws-art + http://projectliberty.org/profiles/brws-post + http://projectliberty.org/profiles/wml-post + http://projectliberty.org/profiles/lecp + + + + + + + + + + + + + + + + diff --git a/conf-sso/idp/sourceid-sso.xml b/conf-sso/idp/sourceid-sso.xml new file mode 100644 index 0000000..237bc15 --- /dev/null +++ b/conf-sso/idp/sourceid-sso.xml @@ -0,0 +1,92 @@ + + + + + + + Venice-SSO-IDP + + + idp + + /WEB-INF/sourceid-sso-providers.xml + + + /defaultExceptionHandler.jsp + + + + /WEB-INF/venice-idp.keystore + thecheat + thatkey + strongbad + + + TODO + 1800 + TODO + TODO + TODO + + + dynamo.session + + + 60 + 300 + + + com.silverwrist.venice.sourceid.VeniceAccountHandler + + org.sourceid.sso.handlers.ArtifactHandlerInMemoryImpl + + + + + + + + diff --git a/conf-sso/idp/venice-idp.keystore b/conf-sso/idp/venice-idp.keystore new file mode 100644 index 0000000..337b6a4 Binary files /dev/null and b/conf-sso/idp/venice-idp.keystore differ diff --git a/conf-sso/sp/logging.xml b/conf-sso/logging.xml similarity index 96% rename from conf-sso/sp/logging.xml rename to conf-sso/logging.xml index 2ef6de0..76aaa63 100644 --- a/conf-sso/sp/logging.xml +++ b/conf-sso/logging.xml @@ -21,7 +21,7 @@ - + diff --git a/conf-sso/sp/sourceid-sso.xml b/conf-sso/sp/sourceid-sso.xml index 0937d86..077b3d7 100644 --- a/conf-sso/sp/sourceid-sso.xml +++ b/conf-sso/sp/sourceid-sso.xml @@ -38,8 +38,6 @@ will already cleanup it's own session tracking info for the user, effectively logging them out of SourceID-SSO. By putting an attribute key here, you can have SourceID-SSO log the user out of your application as well. Future versions of SourceID-SSO will also support JAAS-based login/logout. - - The sample value below works for the sample JSP-based application distributed with SourceID-SSO. --> dynamo.session diff --git a/conf-sso/sp/web.xml b/conf-sso/web.xml similarity index 100% rename from conf-sso/sp/web.xml rename to conf-sso/web.xml diff --git a/venice-data-sso/idp/scripts/sourceid/errorHandler.js b/venice-data-sso/idp/scripts/sourceid/errorHandler.js new file mode 100644 index 0000000..5306cec --- /dev/null +++ b/venice-data-sso/idp/scripts/sourceid/errorHandler.js @@ -0,0 +1,25 @@ +// The contents of this file are subject to the Mozilla Public License Version 1.1 +// (the "License"); you may not use this file except in compliance with the License. +// You may obtain a copy of the License at . +// +// Software distributed under the License is distributed on an "AS IS" basis, WITHOUT +// WARRANTY OF ANY KIND, either express or implied. See the License for the specific +// language governing rights and limitations under the License. +// +// The Original Code is the Venice Web Communities System. +// +// The Initial Developer of the Original Code is Eric J. Bowersox , +// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are +// Copyright (C) 2003 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. +// +// Contributor(s): + +importPackage(Packages.com.silverwrist.dynamo.iface); +importPackage(Packages.com.silverwrist.dynamo.util); +importPackage(Packages.com.silverwrist.venice.content); + +req = bsf.lookupBean("request"); // get request +rhelp = bsf.lookupBean("request_help"); // get request helper + +ex = cast.toThrowable(rhelp.getChainParameter("javax.servlet.jsp.jspException")); +dynamo.scriptReturn(new ErrorBox("Captured SourceID Error",ex));