Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51331

AuditTrail plugin incompatible with JEP-200

    Details

    • Similar Issues:

      Description

      The AuditTrail plugin is incompatible with JEP-200 Remoting / XStream whitelist integrated into Jenkins core.

      Workaround: add the following commandline parameter to whitelist the required classes:
      -Dhudson.remoting.ClassFilter=java.io.BufferedOutputStream,java.io.PrintStream,java.io.FileOutputStream,java.io.FileDescriptor,java.io.BufferedWriter,java.io.OutputStreamWriter,sun.nio.cs.StreamEncoder,sun.nio.cs.UTF_8,sun.nio.cs.UTF_8$$Encoder,java.nio.charset.CodingErrorAction,java.nio.HeapByteBuffer,java.text.SimpleDateFormat,java.text.DecimalFormat,java.text.DecimalFormatSymbols,java.text.DateFormatSymbols

      There is already a pull request which prevents the serialization of java.io.PrintStream and java.text.SimpleDateFormat: Update ConsoleAuditLogger to store configuration correctly #10 (but unfortunately not yet released).

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            IMHO the pull request needs to be updated. It may solve particular cases, but IMHO the code is incorrect

            Show
            oleg_nenashev Oleg Nenashev added a comment - IMHO the pull request needs to be updated. It may solve particular cases, but IMHO the code is incorrect
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Tomasz Sęk
            Path:
            src/main/java/hudson/plugins/audit_trail/ConsoleAuditLogger.java
            src/test/java/hudson/plugins/audit_trail/ConsoleAuditLoggerTest.java
            http://jenkins-ci.org/commit/audit-trail-plugin/100da551c68967c8471a1a6065d23d4a6cc86310
            Log:
            JENKINS-51331 Fix JEP-200 issue in ConsoleAuditLogger

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tomasz Sęk Path: src/main/java/hudson/plugins/audit_trail/ConsoleAuditLogger.java src/test/java/hudson/plugins/audit_trail/ConsoleAuditLoggerTest.java http://jenkins-ci.org/commit/audit-trail-plugin/100da551c68967c8471a1a6065d23d4a6cc86310 Log: JENKINS-51331 Fix JEP-200 issue in ConsoleAuditLogger
            Hide
            tsek Tomasz Sęk added a comment -

            Fixed in version 2.3

            Show
            tsek Tomasz Sęk added a comment - Fixed in version 2.3

              People

              • Assignee:
                tsek Tomasz Sęk
                Reporter:
                bernhardb Bernhard Berbuir
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: