guanxi service provider json release

Tue, Mar 2, 2010

I’ve refactored the Engine to send the attributes and raw SAML from the IdP to the Guard in JSON format, which makes it much easier to write Guards. I’ve also updated the PHP Guard to use the new JSON format. The changes are all reflected in the updated Guanxi Localhost Tutorial. You can download the new Engine and Guard from the sourceforge site.

Beans

  • v1.4.3
  • Updated xsd/guanxi-sp.xsd, added GPSService to engineInfoType. Removed AuthConsumerURL, WAYFLocationService, SAML2WBSSOService. Removed TrustStore, TrustStorePassword, Keystore, KeystorePassword, CertificateAlias, KeyType, Profiles from Guard
Common
  • v2.0.7
  • Updated org.guanxi.common.Bag. Can also now emit to and construct from JSON
Core
  • v2.0.6
  • Updated pom.xml Made junit scope of test
Engine
  • v2.2.0
  • Added org.guanxi.sp.engine.service.generic.GenericProfileService
  • Updated org.guanxi.sp.engine.service.shibboleth.AuthConsumerServiceThread. Now sends the attributes to the Guard in JSON format
  • Updated org.guanxi.sp.engine.service.saml2.WebBrowserSSOAuthConsumerService. Now sends the attributes to the Guard in JSON format
  • Removed org.guanxi.sp.engine.service.saml2.WebBrowserSSOService. Replaced by org.guanxi.sp.engine.service.saml2.SAML2ProfileService
  • Removed org.guanxi.sp.engine.service.shibboleth.WAYFLocationService. Replaced by org.guanxi.sp.engine.service.shibboleth.ShibbolethProfileService
  • Updated WEB-INF/web.xml. Added servlet mapping for /gps/
  • Updated /src/main/resources/log4j.properties. Removed WebBrowserSSOService, WAYFLocationService. Added GenericProfileService, SAML2ProfileService, ShibbolethProfileService
  • Added src/main/webapp/WEB-INF/guanxi_sp_engine/jsp/shibboleth/wayf.jsp
  • Added src/main/webapp/WEB-INF/guanxi_sp_engine/config/profiles/generic/generic-profile-service.xml
  • Added src/main/webapp/WEB-INF/guanxi_sp_engine/config/services/generic/generic-profile-service.xml
  • Removed src/main/webapp/WEB-INF/guanxi_sp_engine/config/services/saml2/web-browser-sso-service.xml
  • Removed src/main/webapp/WEB-INF/guanxi_sp_engine/config/services/saml2/wayf-location-service.xml
  • Updated src/main/webapp/WEB-INF/guanxi_sp_engine/config/profiles/saml2/web-browser-sso.xml. Removed /s2/wbsso
  • Updated src/main/webapp/WEB-INF/guanxi_sp_engine/config/profiles/shibboleth/shibboleth.xml. Removed WAYF location service
Guard
  • v2.2.0
  • Updated org.guanxi.sp.guard.GuardBase. Added gotoEngineGPS. Removed all keystore, truststore and config file processing. The Guard now redirects the browser to the Engine where the profile is decided
  • Updated org.guanxi.sp.guard.Guard. Now delegates all profile selection to the Engine via gotoEngineGPS
  • Updated org.guanxi.sp.guard.Logout to use logj4 instead of commons logging
  • Updated org.guanxi.sp.guard.AttributeConsumer. Now constructs a Bag of attributes directly from the JSON from the Engine
  • Removed org.guanxi.sp.guard.Profile
  • Updated src/main/webapp/WEB-INF/web.xml. url-pattern set to /protected/
  • Updated src/main/webapp/WEB-INF/guanxi_sp_guard/config/guanxi-sp-guard.xml. Added GPSService to EngineInfo. Removed all other Engine, Profile, Truststore and Keystore sections
  • Removed src/main/webapp/free, src/main/webapp/s2wbsso, src/main/webapp/s2wbsso-redirect
  • Removed src/main/webapp/WEB-INF/guanxi_sp_guard/keystore
  • Removed src/main/webapp/WEB-INF/guanxi_sp_guard/truststore
  • Updated src/main/php/.htaccess. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/config.php. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/GuanxiAttributeConsumerService.php. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/GuanxiGuard.php. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/GuanxiPodderService.php. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/GuanxiSessionVerifierService.php. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/headers.php. Updated for new JSON and multi profile Engine compatibility
  • Updated src/main/php/Pod.php. Updated for new JSON and multi profile Engine compatibility
  • Added src/main/php/metadata.xml

comments powered by Disqus