Class Auditor

java.lang.Object
com.netscape.cmscore.logging.Auditor

public class Auditor extends Object
Author:
Endi S. Dewata
  • Field Details

  • Constructor Details

    • Auditor

      public Auditor()
  • Method Details

    • init

      public void init()
    • getSubjectID

      public String getSubjectID()
      Get signed audit log subject ID This method is called to obtain the "SubjectID" for a signed audit log message.
      Returns:
      id string containing the signed audit log message SubjectID
    • getParamString

      public String getParamString(String scope, String type, String id, Map<String,String> params)
      Get signed audit parameters as a string. This method is called to convert parameters into a string of name;;value pairs separated by a '+' if more than one name;;value pair exists.
      Returns:
      a delimited string of one or more delimited name/value pairs
    • getParamString

      public String getParamString(Map<String,String> params)
      Get signed audit parameters as a string. This method is called to convert parameters into a string of name;;value pairs separated by a '+' if more than one name;;value pair exists.
      Returns:
      a delimited string of one or more delimited name/value pairs
    • getParamString

      public String getParamString(StringBuilder parameters, Map<String,String> params)
      Get signed audit parameters as a string. This method is called to convert parameters into a string of name;;value pairs separated by a '+' if more than one name;;value pair exists.
      Returns:
      a delimited string of one or more delimited name/value pairs
    • create

      public LogEvent create(int level, String msg, Object[] params, boolean multiline)
    • log

      public void log(String message)
    • log

      public void log(LogEvent event)