Class AccessDeniedException2

All Implemented Interfaces:
Serializable

@Deprecated public class AccessDeniedException2 extends AccessDeniedException
Deprecated.
AccessDeniedException with more information.
Author:
Kohsuke Kawaguchi
See Also:
  • Field Details

    • authentication

      public final Authentication authentication
      Deprecated.
      This object represents the user being authenticated.
    • permission

      public final Permission permission
      Deprecated.
      This object represents the permission that the user needed.
  • Constructor Details

  • Method Details

    • reportAsHeaders

      public void reportAsHeaders(javax.servlet.http.HttpServletResponse rsp)
      Deprecated.
      Reports the details of the access failure in HTTP headers to assist diagnosis.
    • report

      public void report(PrintWriter w)
      Deprecated.
      Reports the details of the access failure. This method is similar to reportAsHeaders(HttpServletResponse) for the intention but instead of using HTTP headers, this version is meant to go inside the payload.
    • toSpring

      public AccessDeniedException3 toSpring()
      Deprecated.
      Overrides:
      toSpring in class AccessDeniedException