File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
openid-connect-server-webapp/src/main/webapp/WEB-INF/views Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
<%@ page language =" java" contentType =" text/html; charset=utf-8" pageEncoding =" utf-8" %>
2
2
<%@ page import =" org.springframework.security.core.AuthenticationException" %>
3
3
<%@ page import =" org.springframework.security.oauth2.common.exceptions.UnapprovedClientAuthenticationException" %>
4
- <%@ page import =" org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter " %>
4
+ <%@ page import =" org.springframework.security.web.WebAttributes " %>
5
5
<%@ taglib prefix =" authz" uri =" http://www.springframework.org/security/tags" %>
6
6
<%@ taglib prefix =" c" uri =" http://java.sun.com/jsp/jstl/core" %>
7
7
<%@ taglib prefix =" fmt" uri =" http://java.sun.com/jsp/jstl/fmt" %>
13
13
<o:header title =" ${ title } " />
14
14
<o:topbar pageName =" Approve" />
15
15
<div class =" container main" >
16
- <% if (session. getAttribute(AbstractAuthenticationProcessingFilter . SPRING_SECURITY_LAST_EXCEPTION_KEY ) != null && ! (session. getAttribute(AbstractAuthenticationProcessingFilter . SPRING_SECURITY_LAST_EXCEPTION_KEY ) instanceof UnapprovedClientAuthenticationException )) { % >
16
+ <% if (session. getAttribute(WebAttributes . AUTHENTICATION_EXCEPTION ) != null && ! (session. getAttribute(WebAttributes . AUTHENTICATION_EXCEPTION ) instanceof UnapprovedClientAuthenticationException )) { % >
17
17
<div class =" alert-message error" >
18
18
<a href =" #" class =" close" >× ; </a >
19
19
20
20
<p ><strong ><spring:message code =" approve.error.not_granted" /></strong >
21
- (<%= ((AuthenticationException ) session. getAttribute(AbstractAuthenticationProcessingFilter . SPRING_SECURITY_LAST_EXCEPTION_KEY )). getMessage() % > )
21
+ (<%= ((AuthenticationException ) session. getAttribute(WebAttributes . AUTHENTICATION_EXCEPTION )). getMessage() % > )
22
22
</p >
23
23
</div >
24
24
<% } % >
You can’t perform that action at this time.
0 commit comments