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
Deprecated.
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPublicInvocationEvent(Object secureObject) Deprecated.Construct the event, passing in the public secure object. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PublicInvocationEvent
Deprecated.Construct the event, passing in the public secure object.- Parameters:
secureObject- the public secure object
-
EventObject.getSource()to deduce public invocations.