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

DefaultSecurityManager has invalid SLF4J log instruction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.2.0
    • 1.2.1
    • None
    • 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

            Unassigned Unassigned
            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