Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-1329: Document OpenID attribute exchange configuration #1575

Closed
spring-projects-issues opened this issue Dec 15, 2009 · 4 comments
Closed
Labels
in: docs An issue in Documentation or samples type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

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-login>
        <attribute-exchange>
            <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" />
        </attribute-exchange>
    </openid-login> 
@spring-projects-issues
Copy link
Author

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.)

@spring-projects-issues
Copy link
Author

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.

@spring-projects-issues
Copy link
Author

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 ...

@spring-projects-issues
Copy link
Author

Luke Taylor said:

Added extra section to namespace chapter on attribute exchange.

@spring-projects-issues spring-projects-issues added in: docs An issue in Documentation or samples Closed type: enhancement A general enhancement type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@spring-projects-issues spring-projects-issues 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
Labels
in: docs An issue in Documentation or samples type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Projects
None yet
Development

No branches or pull requests

1 participant