org.springframework.security.web.access.AccessDeniedHandler
public class DefaultAccessDeniedHandler extends Object implements org.springframework.security.web.access.AccessDeniedHandler
Constructor | Description |
---|---|
DefaultAccessDeniedHandler() |
Modifier and Type | Method | Description |
---|---|---|
org.springframework.security.web.RedirectStrategy |
getRedirectStrategy() |
|
String |
getUnauthorizedUrl() |
|
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.access.AccessDeniedException accessDeniedException) |
|
void |
setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy) |
|
void |
setUnauthorizedUrl(String unauthorizedUrl) |
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 String getUnauthorizedUrl()
public void setUnauthorizedUrl(String unauthorizedUrl)
public org.springframework.security.web.RedirectStrategy getRedirectStrategy()
public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
Copyright © 2002–2019 itracker. All rights reserved.