Class AuthorizationFailureEvent

    • Constructor Detail

      • AuthorizationFailureEvent

        public AuthorizationFailureEvent​(java.lang.Object secureObject,
                                         java.util.Collection<ConfigAttribute> attributes,
                                         Authentication authentication,
                                         AccessDeniedException accessDeniedException)
        Construct the event.
        Parameters:
        secureObject - the secure object
        attributes - that apply to the secure object
        authentication - that was found in the SecurityContextHolder
        accessDeniedException - that was returned by the AccessDecisionManager
        Throws:
        java.lang.IllegalArgumentException - if any null arguments are presented.