Package hudson.security
Class AccessDeniedHandlerImpl
- java.lang.Object
-
- hudson.security.AccessDeniedHandlerImpl
-
- All Implemented Interfaces:
org.springframework.security.web.access.AccessDeniedHandler
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class AccessDeniedHandlerImpl extends Object implements org.springframework.security.web.access.AccessDeniedHandler
HandlesAccessDeniedException
happened during request processing. Specifically, send 403 error code and the login page.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description AccessDeniedHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, org.springframework.security.access.AccessDeniedException cause)
-
-
-
Method Detail
-
handle
public void handle(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, org.springframework.security.access.AccessDeniedException cause) throws IOException, javax.servlet.ServletException
- Specified by:
handle
in interfaceorg.springframework.security.web.access.AccessDeniedHandler
- Throws:
IOException
javax.servlet.ServletException
-
-