Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1329: Document OpenID attribute exchange configuration #1575

spring-issuemaster opened this Issue Dec 15, 2009 · 4 comments


None yet
1 participant

Stephen Crawley (Migrated from SEC-1329) said:

I found the following example of how to configure OpenID attribute in an issue comment. It should be added to the manual.

            <openid-attribute name="email" type="http://schema.openid.net/contact/email" required="true" count="2"/>
            <openid-attribute name="name" type="http://schema.openid.net/namePerson/friendly" />

Stephen Crawley said:

Actually, I just tried this out and it does not work. Spring complains that is an unexpected element. (And the Eclipse XML validator was saying the same thing.)

Luke Taylor said:

It is used in the OpenID sample and works there without problems. Chances are you have the wrong schema or are using the wrong jars. I'd suggest you use the sample as a starting point.

Stephen Crawley said:

Sorry Luke. I made a stupid mistake when adding the element.

However, in looking at the sample XML, I noticed that it is still using the 2.0 xsd for the spring-beans schema. It's harmless, but you might want to do a trawl across all of the samples ...

Luke Taylor said:

Added extra section to namespace chapter on attribute exchange.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment