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]";<[email protected]>;
Date:  Thu, May 15, 2014 09:59 AM
To:  "王能"<[email protected]>; 

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 [email protected]: 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 
[email protected] 
                To unsubscribe from Shiro User, click here.
                NAML



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-on-App-Engine-tp7014377p7579953.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to