我正在構建一個連接到Android和Iphone設備的小型應用程序引擎項目。我只希望擁有Google帳戶的用戶必須訪問我的http://myuser.appspot.com ...每當他們發佈內容時,我想抓住他們的gmail ID並與他們使用http://myuser.appspot.com發佈的消息相關聯......我不想讓某人發帖垃圾郵件雖然我執行驗證,但仍想收集gmail用戶標識以供進一步參考。我嘗試添加這個web.xml文件,但它並沒有強迫我,進入我的Gmail ID頁面顯示之前,App Engine安全約束
<security-constraint>
<web-resource-collection>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
感謝, 拉梅什
您是否在訪問您的應用程序之前在gmail上進行了註銷? –
是的,我做了註銷。 –