All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.security.impl.NullAuditLogger Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.security.impl;

import javax.security.auth.Subject;

import org.infinispan.security.AuditContext;
import org.infinispan.security.AuditLogger;
import org.infinispan.security.AuditResponse;
import org.infinispan.security.AuthorizationPermission;

/**
 * NullAuditLogger. A simple {@link AuditLogger} which drops all audit messages
 *
 * @author Tristan Tarrant
 * @since 7.0
 * @public
 */
public class NullAuditLogger implements AuditLogger {

   @Override
   public void audit(Subject subject, AuditContext context, String contextName, AuthorizationPermission permission,
         AuditResponse response) {
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy