1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:oauth="http://www.springframework.org/schema/security/oauth2"
6 http://www.springframework.org/schema/beans
7 http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
8 http://www.springframework.org/schema/security/oauth2
9 http://www.springframework.org/schema/security/spring-security-oauth2-1.0.xsd
13 <oauth:rest-template id="template" resource="resource"/>
16 type="client_credentials"
19 authentication-scheme="query"
20 access-token-uri="https://graph.facebook.com/v2.0/oauth/access_token"
21 token-name="oauth_token"