From e33daac2d287b613c6084c9f4878ec69d6f40b76 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Wed, 18 Jun 2003 04:23:20 +0000 Subject: [PATCH] completed support for SourceID IDP, not tested yet --- conf-sso/idp/idp-descriptor.xml | 39 +++ conf-sso/idp/sourceid-sso.xml | 12 +- .../dynamo/script/LibraryCast.java | 8 + .../dynamo/servlet/ServletBase.java | 10 +- .../dynamo/util/RequestHelper.java | 28 ++ .../dynamo/velocity/VelocityPage.java | 134 ++++++++++ .../venice/sourceid/LibrarySourceID.java | 62 +++++ venice-data-sso/idp/scripts/login.js | 244 ++++++++++++++++++ venice-data-sso/idp/scripts/logout.js | 52 ++++ .../idp/scripts/sourceid/defederate.js | 54 ++++ .../idp/scripts/sourceid/federations.js | 89 +++++++ .../idp/scripts/sourceid/idp_login.js | 20 ++ .../idp/scripts/sourceid/idp_return_login.js | 69 +++++ .../idp/scripts/sourceid/logout_render.js | 42 +++ .../idp/scripts/sourceid/post_assertion.js | 28 ++ .../idp/velocity/sourceid/federations.vm | 64 +++++ .../idp/velocity/sourceid/login_heading.vm | 29 +++ .../idp/velocity/sourceid/logout_render.vm | 38 +++ .../idp/velocity/sourceid/post_assertion.vm | 25 ++ .../sp/scripts/sourceid/federations.js | 2 +- 20 files changed, 1041 insertions(+), 8 deletions(-) create mode 100644 conf-sso/idp/idp-descriptor.xml create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/velocity/VelocityPage.java create mode 100644 venice-data-sso/idp/scripts/login.js create mode 100644 venice-data-sso/idp/scripts/logout.js create mode 100644 venice-data-sso/idp/scripts/sourceid/defederate.js create mode 100644 venice-data-sso/idp/scripts/sourceid/federations.js create mode 100644 venice-data-sso/idp/scripts/sourceid/idp_login.js create mode 100644 venice-data-sso/idp/scripts/sourceid/idp_return_login.js create mode 100644 venice-data-sso/idp/scripts/sourceid/logout_render.js create mode 100644 venice-data-sso/idp/scripts/sourceid/post_assertion.js create mode 100644 venice-data-sso/idp/velocity/sourceid/federations.vm create mode 100644 venice-data-sso/idp/velocity/sourceid/login_heading.vm create mode 100644 venice-data-sso/idp/velocity/sourceid/logout_render.vm create mode 100644 venice-data-sso/idp/velocity/sourceid/post_assertion.vm diff --git a/conf-sso/idp/idp-descriptor.xml b/conf-sso/idp/idp-descriptor.xml new file mode 100644 index 0000000..44341ef --- /dev/null +++ b/conf-sso/idp/idp-descriptor.xml @@ -0,0 +1,39 @@ + + + + + + Venice-SSO-IDP + + + + MIIDMDCCAu4CBD7vnjgwCwYHKoZIzjgEAwUAMH4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDTzEPMA0GA1UEBxMGRGVudmVyMSMwIQYDVQQKExpTaWx2ZXJ3cmlzdCBEZXNpZ24gU3R1ZGlvczEUMBIGA1UECxMLRGV2ZWxvcG1lbnQxFjAUBgNVBAMTDUVyaWMgQm93ZXJzb3gwHhcNMDMwNjE3MjMwMzIwWhcNMDMwOTE1MjMwMzIwWjB+MQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ08xDzANBgNVBAcTBkRlbnZlcjEjMCEGA1UEChMaU2lsdmVyd3Jpc3QgRGVzaWduIFN0dWRpb3MxFDASBgNVBAsTC0RldmVsb3BtZW50MRYwFAYDVQQDEw1FcmljIEJvd2Vyc294MIIBtzCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYQAAoGAPY0omT9Qes0rZe0C21MetHeTwen3Er5lFgAPWMUgHkLBhdViPfnRtjtCXiiVZ/n85/Hc6yGNDkNvYVsD5CX8mo72vsXXHg5wdyMiFlHZuZFE57bE/4YDg1dtqQ3BE9NHUlxuinbdgJd8mY5uNpy69/9jrbvr5oo1p6ZMdLU3iiowCwYHKoZIzjgEAwUAAy8AMCwCFF5opeaoKbAijQc87yHBHHlONllfAhRqDQFmDitlQJ61lecv/2/tuaxIPw== + + + + http://localhost:8080/venice-idp/sso/soap/endpoint + http://localhost:8080/venice-idp/sso/logout + http://localhost:8080/venice-idp/sso/logout + http://localhost:8080/venice-idp/sso/fedterm + http://localhost:8080/venice-idp/sso/fedterm + http://localhost:8080/venice-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 index 237bc15..5e8fd37 100644 --- a/conf-sso/idp/sourceid-sso.xml +++ b/conf-sso/idp/sourceid-sso.xml @@ -17,7 +17,7 @@ /WEB-INF/sourceid-sso-providers.xml - /defaultExceptionHandler.jsp + /sourceid/errorHandler.js.vs @@ -27,11 +27,11 @@ strongbad - TODO - 1800 - TODO - TODO - TODO + /sourceid/idp_login.js.vs + 3599 + /sourceid/logout_render.js.vs + /images/check32x32.gif + /sourceid/post_assertion.js.vs