ausaccessfed/federationregistry — pull request #93 by bradleybeddoes (2013-09-17 05:21:00+00:00)
Title: AttributeService endpoints unable to be added by FR UI

We're currently unable to successfully add endpoints of type 'AttributeService' using the webUI (this actually needs to be added to the collaborating AA).

The problem occurs at https://github.com/ausaccessfed/federationregistry/blob/master/app/plugins/base/grails-app/controllers/aaf/fr/foundation/DescriptorEndpointController.groovy#L208 as no check is being made at this point to see if the endpoint actually belongs to descriptors collaborator as it does at https://github.com/ausaccessfed/federationregistry/blob/master/app/plugins/base/grails-app/controllers/aaf/fr/foundation/DescriptorEndpointController.groovy#L149

Resulting error logging correctly points this out: [ 10.10.12 15:06:42.738] WARN grails.app.controllers.aaf.fr.foundation.DescriptorEndpointController - aaf.fr.identity.Subject [id: 35, principal: https://vho.test.aaf.edu.au/idp/shibboleth!-!8fde68a6-0897-4b59-a4da-ab4d46579228, cn:Bradley Beddoes] unable to create endpoint as attributeServices is invalid for idpssodescriptor:[id:389, displayName: La Trobe University]

Users will receive the generic popup message: "Error An error occured communicating with the server.
This has been logged for review. If you continue to have problems please contact support." As this creation process occurs via an ajax request.