Spring Security
  1. Spring Security
  2. SEC-1310

Override PreInvocationExpressionAttribute.toString()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0 RC1
    • Fix Version/s: 3.0.0.RC2
    • Component/s: Core
    • Labels:
      None

      Description

      It wold be nice if @PreAuthorize annotation value could be logged instead of default toString()...
      2009-11-29 12:23:47,484|http-2 |DEBUG||o.s.s.a.i.a.MethodSecurityInterceptor: Secure object: ReflectiveMethodInvocation: public java.lang.String com.rora.business.TestService.hello(java.lang.String); target is of class [com.rora.business.TestService]; Attributes: [org.springframework.security.access.expression.method.PreInvocationExpressionAttribute@87b71b]

        Activity

        Hide
        Luke Taylor added a comment -

        Good idea .

        Show
        Luke Taylor added a comment - Good idea .

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Martin Vanek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: