Class AuditLogEntry

    • Field Detail

      • timestamp

        protected long timestamp
      • operation

        protected String operation
      • remoteAddr

        protected String remoteAddr
    • Constructor Detail

      • AuditLogEntry

        public AuditLogEntry()
    • Method Detail

      • getUser

        public String getUser()
      • setUser

        public void setUser​(String user)
      • getTimestamp

        public long getTimestamp()
      • setTimestamp

        public void setTimestamp​(long timestamp)
      • getFormattedTime

        public String getFormattedTime()
      • getOperation

        public String getOperation()
      • setOperation

        public void setOperation​(String operation)
      • getRemoteAddr

        public String getRemoteAddr()
      • setRemoteAddr

        public void setRemoteAddr​(String remoteAddr)
      • setParameters

        public void setParameters​(Map<String,​Object> parameters)
      • sanitizeArguments

        public static Object[] sanitizeArguments​(Object[] arguments,
                                                 Method method)
        Method to remove any sensitive parameters before logging. Replaces any sensitive value with ****. Sensitive values are defined on MBean interface implementation method parameters using the @Sensitive annotation.
        Parameters:
        arguments - A array of arguments to test against method signature
        method - The method to test the arguments against.