if(list == null) {
exchange.putAttachment(ServletAttachments.REQUIRED_ROLES, list = new ArrayList<Set<String>>());
}
list.addAll(securityMatch.getRequiredRoles());
TransportGuaranteeType type = exchange.getAttachment(ServletAttachments.TRANSPORT_GUARANTEE_TYPE);
if(type == null || type.ordinal() < securityMatch.getTransportGuaranteeType().ordinal()) {
exchange.putAttachment(ServletAttachments.TRANSPORT_GUARANTEE_TYPE, securityMatch.getTransportGuaranteeType());
}
HttpHandlers.executeHandler(next, exchange);
}
}