-
Jul 10th, 2012, 09:53 AM
#1
filter-chain equivalent of <openid-login> namespace
Hi,
That's the OpenID example from spring samples. Could you help to define the filter-chan equivalent?
-------------------------------------
<openid-login login-page="/openidlogin.jsp" user-service-ref="registeringUserService"
authentication-failure-url="/openidlogin.jsp?login_error=true">
<attribute-exchange identifier-match="https://www.google.com/.*">
<openid-attribute name="email" type="http://axschema.org/contact/email" required="true"
count="1" />
<openid-attribute name="firstname" type="http://axschema.org/namePerson/first" required="true" />
<openid-attribute name="lastname" type="http://axschema.org/namePerson/last" required="true" />
</attribute-exchange>
<attribute-exchange identifier-match=".*yahoo.com.*">
<openid-attribute name="email" type="http://axschema.org/contact/email" required="true" />
<openid-attribute name="fullname" type="http://axschema.org/namePerson" required="true" />
</attribute-exchange>
<attribute-exchange identifier-match=".*myopenid.com.*">
<openid-attribute name="email" type="http://schema.openid.net/contact/email" required="true" />
<openid-attribute name="fullname" type="http://schema.openid.net/namePerson" required="true" />
</attribute-exchange>
</openid-login>
----------------------
Thanks a lot,
Gennady
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules