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());
securityFilter = new DefaultSecurityFilter();
} else {
wacJersey.addContextInitParameter(ResourceConfig.PROPERTY_CONTAINER_REQUEST_FILTERS, securityFilterType);
final Class clazz = Class.forName(securityFilterType, true, Thread.currentThread().getContextClassLoader());
securityFilter = (AbstractSecurityFilter) clazz.newInstance();
}