if (this.debugMode) {
rc.getContainerRequestFilters().add(new LoggingFilter());
rc.getContainerResponseFilters().add(new LoggingFilter());
}
rc.getContainerResponseFilters().add(new HeaderResponseFilter(defaultCharacterEncoding));
if (!securityFilterType.equals(Tokens.REXSTER_SECURITY_NONE)) {
final AbstractSecurityFilter securityFilter;
if (securityFilterType.equals(Tokens.REXSTER_SECURITY_DEFAULT)) {
wacJersey.addContextInitParameter(ResourceConfig.PROPERTY_CONTAINER_REQUEST_FILTERS, DefaultSecurityFilter.class.getName());