Class AuthorizationDeniedEvent<T>

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authorization.event.AuthorizationEvent
org.springframework.security.authorization.event.AuthorizationDeniedEvent<T>
All Implemented Interfaces:
Serializable

public class AuthorizationDeniedEvent<T> extends AuthorizationEvent
An ApplicationEvent which indicates failed authorization.
Since:
5.7
See Also:
  • Constructor Details

  • Method Details

    • getObject

      public T getObject()
      Get the object to which access was requested
      Overrides:
      getObject in class AuthorizationEvent
      Returns:
      the object to which access was requested
      Since:
      5.8