私は春のセキュリティと私のアプリでログインして3.1を持っています。私はそれに春の社会を使用してFacebookのログインを追加しようとしています。 Facebookのログインページに行きますが、ログインすると404エラーが発生します。私はURLでこれを持っている:春の社会 - フェイスブックのログインのための404エラー
<bean class="org.springframework.social.connect.web.ProviderSignInController">
<!-- relies on by-type autowiring for the constructor-args -->
<constructor-arg ref="signInAdapter" />
</bean>
<bean id="connectionFactoryLocator"
class="org.springframework.social.connect.support.ConnectionFactoryRegistry">
<property name="connectionFactories">
<list>
<bean class="org.springframework.social.facebook.connect.FacebookConnectionFactory">
<constructor-arg value="${fb.id}" />
<constructor-arg value="${fb.passwrd}" />
</bean>
</list>
</property>
</bean>
<bean id="connectionRepository" factory-method="createConnectionRepository"
factory-bean="usersConnectionRepository" scope="request">
<constructor-arg value="#{request.userPrincipal.name}" />
<aop:scoped-proxy proxy-target-class="false" />
</bean>
<bean id="signInAdapter" class="com.Test.social.SimpleSignInAdapter"/>
<bean id="usersConnectionRepository"
class="org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository">
<constructor-arg ref="dataSource" />
<constructor-arg ref="connectionFactoryLocator" />
<constructor-arg ref="textEncryptor" />
</bean>
<bean id="textEncryptor" class="org.springframework.security.crypto.encrypt.Encryptors"
factory-method="noOpText" />
</beans>
任意の考え:
http://localhost:8080/TestProject/signin?error=provider#_=_
はここに私の春の社会的設定を行きますか?
はい、私はspring social 1.0.2を使用しています。 – shazinltc
と私は、Facebookのアプリを作成し、appid、キーを与えている.. – shazinltc
構成はokです..あなたがログに見たものを共有できますか? –