Class AccessAuditLogger

    • Constructor Detail

      • AccessAuditLogger

        public AccessAuditLogger()
    • Method Detail

      • url

        public IAccessAuditLogger url​(String url)
        Description copied from interface: IAccessAuditLogger
        Sets the URL that generated the access. If the code that will log an access entry runs within a LumisXP request cycle (within a data provider, for example), the access URL will automatically be available to the log entry and may be omitted.
        Specified by:
        url in interface IAccessAuditLogger
        Parameters:
        url - the accessed URL that generated the access.
        Returns:
        this logger to chain commands.
      • currentUserId

        public IAccessAuditLogger currentUserId​(String currentUserId)
        Description copied from interface: IAccessAuditLogger
        Sets the current user identifier (if any). If the code that will log an access entry does not add a current user identifier, the currently monitored user will try to be added automatically when the log happens.
        Specified by:
        currentUserId in interface IAccessAuditLogger
        Parameters:
        currentUserId - the current user identifier.
        Returns:
        this logger to chain commands.
      • log

        public void log​(String message)
        Description copied from interface: IAccessAuditLogger
        Log an access audit entry with the given message.
        Specified by:
        log in interface IAccessAuditLogger
        Parameters:
        message - the message.