io.tracee.PermitAllTraceeFilterConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tracee-testhelper Show documentation
Show all versions of tracee-testhelper Show documentation
Please refer to https://github.com/tracee/tracee.
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