'Ensure idp_sso_endpoint and idp_entity_id have values.'

def _ensure_required_values_present(self):

    if (CONF.saml.idp_entity_id is None):
        msg = _('Ensure    configuration    option    idp_entity_id    is    set.')
        raise exception.ValidationError(msg)
    if (CONF.saml.idp_sso_endpoint is None):
        msg = _('Ensure    configuration    option    idp_sso_endpoint    is    set.')
        raise exception.ValidationError(msg)
