tag:blogger.com,1999:blog-1699950446304666715.post2324924030326675030..comments2023-06-16T12:05:47.873-04:00Comments on Gunnar Hillert's Blog: Automating User Registrations with OpenID and Spring Security 3.0 - Part 3Gunnar Hillerthttp://www.blogger.com/profile/12757936011493339624noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1699950446304666715.post-2779851108401371912010-12-14T14:36:25.078-05:002010-12-14T14:36:25.078-05:00Hi, great blog. I should have seen it earlier. W...Hi, great blog. I should have seen it earlier. We recently implement spring security 3 with openID as well. I take a less flexible, but simpler approach.<br />http://zggame.blogspot.com/2010/12/openid-spring-mvc-3-spring-security-3.htmlPhoenixhttps://www.blogger.com/profile/18265221977463521400noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-60075794252628823152010-12-14T14:35:32.689-05:002010-12-14T14:35:32.689-05:00Hi, great blog. I should have seen it earlier. W...Hi, great blog. I should have seen it earlier. We recently implement spring security 3 with openID as well. I take a less flexible, but simpler approach.<br />http://zggame.blogspot.com/2010/12/openid-spring-mvc-3-spring-security-3.htmlPhoenixhttps://www.blogger.com/profile/18265221977463521400noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-31656531109676359182010-08-04T02:47:42.145-04:002010-08-04T02:47:42.145-04:00So much information on Spring OpenID is outdated s...So much information on Spring OpenID is outdated so quickly...I recommend sticking with the sample application at http://repo1.maven.org/maven2/org/springframework/security/spring-security-samples-openid/3.0.3.RELEASE/spring-security-samples-openid-3.0.3.RELEASE.war as a reference. Also, I found http://www.packtpub.com/article/opening-up-to-openid-with-spring-security quite helpful.marcelstoerhttps://www.blogger.com/profile/03645955941765870021noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-22690904372747270562010-02-13T05:34:56.554-05:002010-02-13T05:34:56.554-05:00My application security context file
...My application security context file<br /><br /><br /> <br /> <br /> <br /> <br /> <br /> <br />the custom AttributeAwareOpenIDConsumer file<br />public class AttributeAwareOpenIDConsumer extends OpenID4JavaConsumer{<br /><br /> public AttributeAwareOpenIDConsumer() throws ConsumerException<br /> {<br /> super(Arrays.asList(new OpenIDAttribute("email","http://axschema.org/contact/email"),<br /> new OpenIDAttribute("firstname","http://axschema.org/namePerson/first"),<br /> new OpenIDAttribute("lastname","http://axschema.org/namePerson/last"),<br /> new OpenIDAttribute("country","http://axschema.org/contact/country/home"),<br /> new OpenIDAttribute("language","http://axschema.org/pref/language")));<br /> }<br /><br />}<br /><br />the myOpenIDFilter beeans overrides the default openID filter behaviour which is done in the tag.Abdul Khaliqhttps://www.blogger.com/profile/07866697874356054256noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-70215654152766073222010-02-11T09:58:40.273-05:002010-02-11T09:58:40.273-05:00Gunnar, would you be able to elaborate more on you...Gunnar, would you be able to elaborate more on your RegistrationAwareOpenIDAuthenticationFilter? I'm attempting to emulate your design (though I'm new to spring/openID), so any help would be appreciated...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-30620276606301723992010-02-07T14:45:21.714-05:002010-02-07T14:45:21.714-05:00hi,
I have used ur example of AttriuteAwareOpneI...hi, <br /><br />I have used ur example of AttriuteAwareOpneIDConsumer for fetching the attributes from google site my class file looks like this<br /><br />public class AttributeAwareOpenIDConsumer extends OpenID4JavaConsumer{<br /><br /> public AttributeAwareOpenIDConsumer() throws ConsumerException<br /> {<br /> super(Arrays.asList(new OpenIDAttribute("email","http://axschema.org/contact/email"),<br /> new OpenIDAttribute("firstname","http://axschema.org/namePerson/first"),<br /> new OpenIDAttribute("lastname","http://axschema.org/namePerson/last"),<br /> new OpenIDAttribute("country","http://axschema.org/contact/country/home"),<br /> new OpenIDAttribute("language","http://axschema.org/pref/language")));<br /> }<br /><br />}<br />but it dosent semms to ftech nay attributes from the site <br /><br />any help?<br /><br />Abdul KhaliqAbdul Khaliqhttps://www.blogger.com/profile/07866697874356054256noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-27730255497652657122010-02-07T10:16:30.336-05:002010-02-07T10:16:30.336-05:00Hi Gunnar,
I had read ur post about implementing ...Hi Gunnar,<br /><br />I had read ur post about implementing openID with spring security. However things will be more clearer if u share some code.<br /><br />Abdul KhaliqAbdul Khaliqhttps://www.blogger.com/profile/07866697874356054256noreply@blogger.com