From eb3b330db31eb8564015d4c1ea51fb7c1099b3cb Mon Sep 17 00:00:00 2001 From: LSZ Date: Tue, 31 May 2016 00:18:31 +0800 Subject: [PATCH] Add more description, update font-family --- src/main/webapp/WEB-INF/jsp/decorators/main.jsp | 6 ++++++ src/main/webapp/index.jsp | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/main/webapp/WEB-INF/jsp/decorators/main.jsp b/src/main/webapp/WEB-INF/jsp/decorators/main.jsp index ebc583c..13bdc19 100644 --- a/src/main/webapp/WEB-INF/jsp/decorators/main.jsp +++ b/src/main/webapp/WEB-INF/jsp/decorators/main.jsp @@ -19,6 +19,12 @@ <decorator:title default=""/> - Spring Security&Oauth2 + + diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 059fc5e..510dce7 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -63,5 +63,19 @@ Mobile +
+

+ 说明: Unity与Mobile菜单需要先获取到access_token后才能正常访问; 可以尝试在URL后面任意添加access_token参数值试试效果, +
+ 如: ${contextPath}/m/dashboard?access_token=i_am_testing_access_token +

+ +

+ 请求受保护的资源时传递 + Access Token + 有两种方式, 方式一在URL参数中添加access_token, 方式二在请求的Header中添加 Authorization, 其值为 bearer + your_access_token +

+
\ No newline at end of file