Class Auditor

java.lang.Object
com.netscape.cmscore.logging.Auditor
All Implemented Interfaces:
IAuditor

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

    • auditor

      public static final Auditor auditor
  • Constructor Details

    • Auditor

      public Auditor()
  • Method Details

    • getAuditor

      public static Auditor getAuditor()
    • getSubjectID

      public String getSubjectID()
      Description copied from interface: IAuditor
      Get signed audit log subject ID This method is called to obtain the "SubjectID" for a signed audit log message.
      Specified by:
      getSubjectID in interface IAuditor
      Returns:
      id string containing the signed audit log message SubjectID
    • getGroups

      public String getGroups(String subjectID)
      Description copied from interface: IAuditor
      Get signed audit groups This method is called to extract all "groups" associated with the "auditSubjectID()".

      Specified by:
      getGroups in interface IAuditor
      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)
      Description copied from interface: IAuditor
      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.
      Specified by:
      getParamString in interface IAuditor
      Returns:
      a delimited string of one or more delimited name/value pairs
    • getParamString

      public String getParamString(Map<String,String> params)
      Specified by:
      getParamString in interface IAuditor
    • getParamString

      public String getParamString(StringBuilder parameters, Map<String,String> params)
      Specified by:
      getParamString in interface IAuditor