# File cas.rb, line 112 def add_service_to_login_url(service_url) uri = super(service_url) domain = Rmobio::Utils.get_domain(service_url) if not domain.nil? RAILS_DEFAULT_LOGGER.debug 'CAS: Adding domain parameter ' + domain + '...' unless not defined? RAILS_DEFAULT_LOGGER param_token = uri.index("?").nil? ? '?' : '&' uri << param_token + 'domain=' + domain end uri.to_s end