SecurityInfo securityInfo = containerInfo.getSecurity();
SecurityContext securityContext = invocation.getSecurityContext();
boolean invoke = true;
if (!securityContext.isSecure())
{
if (securityInfo.containsTransportGuarantee(TransportGuarantee.CONFIDENTIAL))
{
invoke = false;
}
else if (securityInfo.containsTransportGuarantee(TransportGuarantee.INTEGRAL))
{