24 |
Conference Server
25 | <%
26 | if (session.getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY) != null
27 | && !(session
28 | .getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY) instanceof UnapprovedClientAuthenticationException)) {
29 | %>
30 |
31 |
Woops!
32 |
33 |
34 | Access could not be granted. (<%=((AuthenticationException) session
35 | .getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY))
36 | .getMessage()%>)
37 |
38 |
39 | <%
40 | }
41 | %>
42 |
43 |
44 |
45 |
46 | You hereby authorize "" to access your protected resources.
47 |
48 |
49 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/conference/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 |
18 |
19 |
Conference Server OAuth2 Error
20 |
21 |
22 |
23 | (
24 |
25 | )
26 |
27 |
Please go back to your client application and try again, or
28 | contact the owner and ask for support
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/conference/src/main/webapp/index.jsp:
--------------------------------------------------------------------------------
1 | <%@ taglib prefix="authz"
2 | uri="http://www.springframework.org/security/tags"%>
3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
4 |
5 |
6 |
7 |
8 |