Class PublicInvocationEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.access.event.AbstractAuthorizationEvent
org.springframework.security.access.event.PublicInvocationEvent
All Implemented Interfaces:
Serializable

public class PublicInvocationEvent extends AbstractAuthorizationEvent
Event that is generated whenever a public secure object is invoked.

A public secure object is a secure object that has no ConfigAttributes defined. A public secure object will not cause the SecurityContextHolder to be inspected or authenticated, and no authorization will take place.

Published just before the secure object attempts to proceed.

See Also:
  • Constructor Details

    • PublicInvocationEvent

      public PublicInvocationEvent(Object secureObject)
      Construct the event, passing in the public secure object.
      Parameters:
      secureObject - the public secure object