boolean (boolean validated, String ip, String partner, String serviceGroup, String type) { if (type == PartnerAuthenticationType.IP_PARTNER_ID) { } else if (type == PartnerAuthenticationType.IP) { } return validated; }