25 |
26 | <%
27 | if (session
28 | .getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY) != null
29 | && !(session
30 | .getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY) instanceof UnapprovedClientAuthenticationException)) {
31 | %>
32 |
33 |
Woops!
34 |
35 |
36 | Access could not be granted. (<%=((AuthenticationException) session
37 | .getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY))
38 | .getMessage()%>)
39 |
40 |
41 | <%
42 | }
43 | %>
44 |
45 |
46 |
47 | Please Confirm
48 |
49 |
50 | You hereby authorize "
51 |
52 | " to access your protected resources with scopes :
53 |
54 |
55 |
56 | - ${scope}
57 |
58 |
59 |
60 |
61 |
62 |
67 |
72 |
73 |
74 |
75 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/AuthServer/src/main/webapp/WEB-INF/jsp/index.jsp:
--------------------------------------------------------------------------------
1 | <%@page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@page isELIgnored="false"%>
3 | <%@ taglib prefix="authz"
4 | uri="http://www.springframework.org/security/tags"%>
5 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
6 | <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
7 |
8 |
9 |
10 |
17 |
18 | Woops!
19 |
20 | Your login attempt was not successful.
21 |
22 |
23 | Woops!
24 |
25 | You are not permitted to access that resource.
26 |
27 |
28 |
Login
29 |
30 |
" method="post">
32 |
33 |
35 |
36 |
37 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/AuthServer/src/main/webapp/WEB-INF/jsp/oauth_error.jsp:
--------------------------------------------------------------------------------
1 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
2 |
3 |
4 |
5 |
15 |
()
16 |
Please go back to your client application and try again, or contact the owner and ask for support
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/AuthServer/src/main/webapp/WEB-INF/jsp/register/client.jsp:
--------------------------------------------------------------------------------
1 | <%@page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@page isELIgnored="false"%>
3 | <%@ taglib prefix="authz"
4 | uri="http://www.springframework.org/security/tags"%>
5 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
6 | <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
Home
17 |
18 |
You have successfully authorized the request for a protected resource.
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/AuthServer/src/main/webapp/WEB-INF/jsp/tokenManagment.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=utf-8"
2 | pageEncoding="utf-8"%>
3 | <%@ taglib prefix="security"
4 | uri="http://www.springframework.org/security/tags"%>
5 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
6 |
7 |
8 |
9 |
10 |