can you share the whole ini file?
------------------ 原始邮件 ------------------ 发件人: "Ian White [via Shiro User]";<[email protected]>; 发送时间: 2014年5月15日(星期四) 晚上8:44 收件人: "王能"<[email protected]>; 主题: Re: Shiro on App Engine I can see in shiro.ini the following: socialLogout = com.cilogi.shiro.web.oauth.SocialLogoutFilter gaeRealm = com.cilogi.shiro.gae.DatastoreRealm oauthRealm = com.cilogi.shiro.oauth.OAuthRealm googleRealm = com.cilogi.shiro.googlegae.GoogleGAERealm so I assume the problem is not in the webapp. Is there a permission I need to set in the appengine console ? Ian On Thu, May 15, 2014 at 10:33 PM, Ian White <[hidden email]> wrote: No I did not, but I shall search through the project code to see how it is done... There is no call to setCredentialsMatcher() in the gaeshiro project. The webapp at gaeshiro.appspot.com does allow login using a gmail address. Are you saying that webapp has a call to setCredentialsMatcher(), which is not in the github code ? Thanks for responding so quickly. Much appreciated. Ian On Thu, May 15, 2014 at 1:45 PM, wangneng100 [via Shiro User] <[hidden email]> wrote: Did you set a customized realm which set your own credentials mathcer or all all. setCredentialsMatcher(new AllowAllCredentialsMatcher()); ------------------ Original ------------------ From: "Ian White [via Shiro User]";<[hidden email]>; Date: Thu, May 15, 2014 09:59 AM To: "王能"<[hidden email]>; Subject: Re: Shiro on App Engine Tim, Fantastic use of shiro and gae. I created a mvn appengine project from it, changed the appengine version to 1.9.4, and fixed the maven fmpp plugin error. when i upload and run on gae, i can login in via google's login page, but then i get: cannot authorize [hidden email]: Authentication token of type [class com.cilogi.shiro.googlegae.GoogleGAEAuthenticationToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens. I was expecting the Google and Facebook realms would already be set up. Am I missing some setup for Google sign-ins ? Thanks Ian If you reply to this email, your message will be added to the discussion below: http://shiro-user.582556.n2.nabble.com/Shiro-on-App-Engine-tp7014377p7579952.html To start a new topic under Shiro User, email [hidden email] To unsubscribe from Shiro User, click here. NAML If you reply to this email, your message will be added to the discussion below: http://shiro-user.582556.n2.nabble.com/Shiro-on-App-Engine-tp7014377p7579953.html To unsubscribe from Shiro on App Engine, click here. NAML -- Ian White h: <a href="tel:%2B61%202%209948%209739" value="+61299489739" target="_blank">+61 2 9948 9739 m: <a href="tel:%2B61%20404%20950%20122" value="+61404950122" target="_blank">+61 404 950 122 skype (home): biancashouse -- Ian White h: +61 2 9948 9739 m: +61 404 950 122 skype (home): biancashouse If you reply to this email, your message will be added to the discussion below: http://shiro-user.582556.n2.nabble.com/Shiro-on-App-Engine-tp7014377p7579955.html To start a new topic under Shiro User, email [email protected] To unsubscribe from Shiro User, click here. NAML -- View this message in context: http://shiro-user.582556.n2.nabble.com/re-Shiro-on-App-Engine-tp7579956.html Sent from the Shiro User mailing list archive at Nabble.com.
