hudson.security
Class AccessDeniedException2

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.acegisecurity.AcegiSecurityException
                      extended by org.acegisecurity.AccessDeniedException
                          extended by hudson.security.AccessDeniedException2
All Implemented Interfaces:
Serializable

public class AccessDeniedException2
extends org.acegisecurity.AccessDeniedException

AccessDeniedException with more information.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
 org.acegisecurity.Authentication authentication
          This object represents the user being authenticated.
 Permission permission
          This object represents the permission that the user needed.
 
Constructor Summary
AccessDeniedException2(org.acegisecurity.Authentication authentication, Permission permission)
           
AccessDeniedException2(Throwable t, org.acegisecurity.Authentication authentication, Permission permission)
           
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

authentication

public final org.acegisecurity.Authentication authentication
This object represents the user being authenticated.


permission

public final Permission permission
This object represents the permission that the user needed.

Constructor Detail

AccessDeniedException2

public AccessDeniedException2(org.acegisecurity.Authentication authentication,
                              Permission permission)

AccessDeniedException2

public AccessDeniedException2(Throwable t,
                              org.acegisecurity.Authentication authentication,
                              Permission permission)


Copyright © 2004-2013. All Rights Reserved.