public URI retrieveUriFromServerUrls(Set<String> serverUrls){
  URI authUri=null;
  for (  String uri : serverUrls) {
    authUri=URI.create(uri);
    break;
  }
  return authUri;
}

public URI retrieveUriFromServerUrls ( Set < String > serverUrls ) { URI authUri = null ; for ( String uri : serverUrls ) { authUri = URI . create ( uri ) ; break ; } return authUri ; }
retrieves uri from server urls .
