Class ExpressionBasedPreInvocationAdvice

    • Constructor Detail

      • ExpressionBasedPreInvocationAdvice

        public ExpressionBasedPreInvocationAdvice()
        Deprecated.
    • Method Detail

      • before

        public boolean before​(Authentication authentication,
                              org.aopalliance.intercept.MethodInvocation mi,
                              PreInvocationAttribute attr)
        Deprecated.
        Description copied from interface: PreInvocationAuthorizationAdvice
        The "before" advice which should be executed to perform any filtering necessary and to decide whether the method call is authorised.
        Specified by:
        before in interface PreInvocationAuthorizationAdvice
        Parameters:
        authentication - the information on the principal on whose account the decision should be made
        mi - the method invocation being attempted
        attr - the attribute built from the @PreFilter and @PostFilter annotations.
        Returns:
        true if authorised, false otherwise