Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-353

DefaultSecurityManager has invalid SLF4J log instruction

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: None
    • Labels:
      None

      Description

      Invalid SLF4J message (string concatenation with {} inside template) in DefaultSecurityManager class.

      Line 550:

      log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());

      Should be:

      log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maciejziarko Maciej Ziarko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2m
                2m
                Remaining:
                Remaining Estimate - 2m
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified