public class CommunoteAccessDeniedHandler extends Object implements org.springframework.security.web.access.AccessDeniedHandler
Modifier and Type | Field and Description |
---|---|
static String |
ACEGI_SECURITY_ACCESS_DENIED_EXCEPTION_KEY
The Constant ACEGI_SECURITY_ACCESS_DENIED_EXCEPTION_KEY.
|
protected static org.slf4j.Logger |
LOG
The Constant logger.
|
Constructor and Description |
---|
CommunoteAccessDeniedHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.access.AccessDeniedException accessDeniedException) |
void |
setErrorPage(String errorPage)
The error page to use.
|
public static final String ACEGI_SECURITY_ACCESS_DENIED_EXCEPTION_KEY
protected static final org.slf4j.Logger LOG
public void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException accessDeniedException) throws IOException, javax.servlet.ServletException
handle
in interface org.springframework.security.web.access.AccessDeniedHandler
IOException
javax.servlet.ServletException
public void setErrorPage(String errorPage)
errorPage
- the dispatcher path to displayIllegalArgumentException
- if the argument doesn't comply with the above limitationsCopyright © 2019 Communote team. All rights reserved.