thank you very much.
the second method that set up a tokenservices I have done ,and success.
but the first method which used RemoteTokenServices ,I met some trouble.
Code:
<bean id="tokenServices" class="org.cloudfoundry.identity.uaa.oauth.RemoteTokenServices">
<property name="checkTokenEndpointUrl" value="${checkTokenEndpointUrl}" />
<property name="clientId" value="app" />
<property name="clientSecret" value="appclientsecret" />
</bean>
what is "checkTokenEndpointUrl",for example (tonr2/sparklr2),what value should I put? could you enlighten me on this subject
thank you again.