9 Responses to “Using Apache Shiro Security to allow login via Facebook – part 2”

  1. mrmikewarren November 28, 2011 at 2:33 pm #

    Have added a question related to this to the Shiro user’s forum

  2. snowlyjam July 10, 2013 at 1:08 am #


  3. Kiriba sushi January 29, 2014 at 4:51 am #

    I enjoy what you guʏs tend tօ be up too. This sort of clever work and exposure!
    Ҝeeƿ սp the terrific ѡorks guʏs I’ve adɗed you guys to my personal Ьlogroll.

  4. Albert Kam February 11, 2014 at 11:47 am #

    Hello, i have successfully tried out your example. But now i’m facing a problem on how to automatically create shiro native session upon the manual subject.login(token). Do you have any ideas on how to do this ? Thank you !

  5. Albert Kam February 12, 2014 at 8:55 am #

    The session creation works well. It was my problem with noSessionCreation filter. Thanks for the great help. Your solution works better than any other options out there !

  6. srizan sagar May 20, 2014 at 12:52 pm #

    Hi Mike, I tried to implement your code, but I am stucked at currentUser.login(token) method. The following error is reported. Please suggest what am i doing wrong. Either their is configuration mistake or else what !!

    Realm [FacebookRealm@52039826] does not support authentication token [FacebookToken@132d9844]. Please ensure that the appropriate Realm implementation is configured correctly or that the realm accepts AuthenticationTokens of this type.

  7. Akhbar Falafel March 25, 2015 at 3:47 pm #

    You never posted the code for FacebookAuthorizationInfo. Anything special there?

  8. Kevin Chen July 24, 2017 at 2:58 am #

    This blog post is too old to be of much use now.


  1. 社交网络 – 使用Apache Shiro进行社交认证 - Coder Zone - March 18, 2019

    […] 将社交认证与Apache Shiro集成的最佳方法是什么? 我将此网站作为其他网站搜索,但未找到答案. 您可以查看本教程: https://mrdwnotes.wordpress.com/2011/11/28/using-apache-shiro-security-to-allow-login-via-facebook-pa… […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: