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

io.tracee.PermitAllTraceeFilterConfiguration Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package io.tracee;

import io.tracee.configuration.TraceeFilterConfiguration;

import java.util.Map;

public class PermitAllTraceeFilterConfiguration implements TraceeFilterConfiguration {

	public static final int ARBITRARY_NUMBER = 32;

	@Override
	public final boolean shouldProcessParam(String paramName, Channel channel) {
		return true;
	}

	@Override
	public final Map filterDeniedParams(Map unfiltered, Channel channel) {
		return unfiltered;
	}

	@Override
	public final boolean shouldProcessContext(Channel channel) {
		return true;
	}

	@Override
	public final boolean shouldGenerateInvocationId() {
		return true;
	}

	@Override
	public final int generatedInvocationIdLength() {
		return ARBITRARY_NUMBER;
	}

	@Override
	public final boolean shouldGenerateSessionId() {
		return true;
	}

	@Override
	public final int generatedSessionIdLength() {
		return ARBITRARY_NUMBER;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy