On 8/8/15, 3:26 AM, "abfab on behalf of Alejandro Pérez Méndez" <[email protected] on behalf of [email protected]> wrote:
> >That confuses me. This attribute is already defined in the description of the >RoleDescriptor type, and I thought that I did not need to provide further >information. For instance, in the saml-metadata-2.0-os document, other >subtypes of RoleDescriptor such as SSODescriptor or >AttributeAuthorityDescriptor, or even subsubtypes such as IDPSSODescriptor, >say nothing about the value of protocolSupportEnumeration. I just followed the >same kind of description they do. In fact, in that document, the only place >besides RoleDescriptor where protocolSupportEnumeration appears is in section >"2.6 Examples", so I did include it in my examples. It may be that the right value here is just "urn:oasis:names:tc:SAML:2.0:protocol", which is the one that's called out by default in the metadata spec for SAML 2.0 entities. Since these roles were, I thought, more intended to describe RADIUS entities, that didn't seem entirely appropriate, but OTOH if these are RADIUS entities able to communicate SAML 2.0 messages, I don't know that it isn't appropriate either. It doesn't matter that much in practice here because the purpose of the attribute is to distinguish a particular role type across multiple use cases (e.g. IDPSSODescriptor that might be SAML 2.0, SAML 1.1, WS-Federation, OpenID Connect, or all four). If these roles are more or less singular in nature, then the value is probably academic, and leaving it defaulting to "urn:oasis:names:tc:SAML:2.0:protocol" is likely fine, but I'm just noting that that is in fact what would have to appear. If that doesn't seem good, something else would need to be defined. >Where do you suggest to include this kind of description? In the >introductory text for each role? Why other subtypes of RoleDescriptor do >not provide it? The default value is defined in the RoleDescriptor definition. If one was to specify a different default for a role type, it would make sense to define it within that role type's definition. >You are right, I don't want the extra whitespaces to be included in the >value of the element. What do you suggest?: The simplest fix is just to change the examples. >a) making the example look like this > > <RADIUSRealm>idp.com</RADIUSRealm> > >or >b) using another type that has implicit trimming capabilities (if such >thing exists) No such thing exists, so it's a rathole to try and address it. >For instance, I've seen that the localizedNameType extends xs:string, >but it seems to have no problems with trimming. Everything based on string ends up with trimming issues sooner or later. Nothing has ever been done to address it. >Does this subtype define anything special that implies trimming? No. That approach to the examples is what I'm suggesting you avoid. -- Scott _______________________________________________ abfab mailing list [email protected] https://www.ietf.org/mailman/listinfo/abfab
