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

    • getAuditor

      public static Auditor getAuditor()
    • 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
    • getGroups

      public String getGroups(String subjectID)
      Get signed audit groups This method is called to extract all "groups" associated with the "auditSubjectID()".
      Parameters:
      subjectID - string containing the signed audit log message SubjectID
      Returns:
      a delimited string of groups associated with the "auditSubjectID()"
    • 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