Changes between Initial Version and Version 1 of Es:Help/Preferences/Connection


Ignore:
Timestamp:
2011-03-22T11:49:17+01:00 (15 years ago)
Author:
ovruni
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Es:Help/Preferences/Connection

    v1 v1  
     1[[TranslatedPages]]
     2= Preferencias > Ajustes de Conexión =
     3
     4[[TOC(inline)]]
     5
     6== La dirección URL del servidor de OSM == #ApiUrl
     7
     8=== Subir y descargar en el servidor por defecto ===
     9
     10[[Image(use-default-api-url.png)]]
     11
     12La mayoría de los usuarios de JOSM desean intercambiar datos geográficos con el servidor de OSM estándar operado por la comunidad de OSM.
     13
     14Marque la casilla correspondiente con el fin de descargar y subir en el servidor estándar (ver imagen superior). Esta es la configuración por defecto.
     15
     16=== Opción avanzada: Descargar y subir a un servidor personalizado ===
     17Algunos usuarios de JOSM necesitan configurar la dirección URL de la API de un servidor de OSM porque están trabajando con un servidor personalizado:
     18  * Algunos usuarios están trabajando con las instalaciones locales del servidor de OSM
     19  * Algunos usuarios están trabajando con instancias de desarrollo y de pruebas del servidor de OSM (por ejemplo, con [http://api06.dev.openstreetmap.org]).
     20
     21[[Image(use-custom-api-url.png)]]
     22
     23Para utilizar una URL personalizada:
     24  1. Quitar la marca de la casilla de verificación de dirección URL de la API estándar (ver imagen superior)
     25  2. Introduzca la dirección URL de la API
     26
     27Haga clic en '''Validar''' para comprobar si un servidor de la API de OSM está disponible en la URL. Si es así, JOSM mostrará el icono [[Image(source:/trunk/images/dialogs/changeset/valid.png)]] a la derecha de la caja de texto para la dirección URL de la API. Si la dirección no es válida, JOSM mostrará el icono [[Image(source:/trunk/images/warning-small.png)]].
     28
     29== Preferencias de Autenticación ==#AuthenticationSettings
     30
     31=== Trabajo de forma anónima o con una cuenta de OSM ===
     32
     33No es necesario identificarse y autenticarse siempre y cuando no suba datos al servidor de OSM ni descargue datos para lo cual debe autenticarse primero.
     34
     35Si usted trabaja de '''forma anónima''' se le permite
     36  * para descargar datos geográficos desde el servidor de OSM y guardarlos en un archivo local
     37  * para descargar las trazas públicas de GPS desde el servidor de OSM
     38  * para cargar datos geográficos desde un archivo, editarlo y volver a guardarlo en un archivo
     39
     40Sin embargo, no puede
     41  * subir datos geográficos al servidor de OSM. No se pueden crear, actualizar, o cerrar cualquier conjunto de cambios.
     42  * descargar sus trazas privados de GPS
     43
     44Se recomienda [http://www.openstreetmap.org/user/new?referer=%2F crear una cuenta de usuario de OSM]. Al utilizar [http://www.openstreetmap.org/user/new?referer=%2F este formulario], usted puede elegir un '''nombre de usuario de OSM''' y una '''contraseña de OSM''', ambos de los cuales se van a utilizar a continuación.
     45
     46=== Autenticación básica ===
     47La autenticación básica es el mecanismo básico para autenticarse en el servidor de OSM.
     48
     49Aquí hay una captura de pantalla del panel de preferencias para la autenticación básica:
     50
     51[[Image(basic-authentication.png)]]
     52
     53Para utilizar la Autenticación Básica
     54
     55  1. Ir a la ficha de '''Autenticación''' en los Ajustes de Conexión
     56  2. Seleccione el método de autenticación llamado '''Autenticación Básica'''
     57  3. Introduzca su nombre de usuario de OSM y su contraseña de OSM
     58
     59{{{
     60#!html
     61<p style="background-color:rgb(253,255,221);padding: 10pt; border-color:rgb(128,128,128);border-style: solid; border-width: 1px;">
     62<strong>Advertencia!</strong><br/>
     63La contraseña es almacenada en texto plano en el archivo de preferencias de JOSM.
     64Por otra parte, se transfiere <strong>sin cifrar</strong> en cada solicitud enviada al servidor de OSM.
     65<strong>No utilice claves valiosas.</strong>
     66</p>
     67}}}
     68
     69=== Autenticación basada en OAuth ===
     70[http://oauth.net/ OAuth] is an open protocol to allow secure API authorization  in a simple and standard method from desktop and web applications. The OSM server supports OAuth in addition to basic authentication.
     71
     72OAuth has two major advantages over basic authentication:
     73  1. Your OSM password doesn't have to be saved in clear text in the JOSM preferences file.
     74  2. Your OSM password has to be transferred '''only once''' over the Internet, in contrast to basic authentication where your OSM password is transferred as part of every request sent from JOSM to the OSM server.
     75
     76{{{
     77#!html
     78<p style="background-color:rgb(253,255,221);padding: 10pt; border-color:rgb(128,128,128);border-style: solid; border-width: 1px;">
     79<strong>Warning!</strong><br/>
     80Currently, the OSM server doesn't offer a secure communication channel. Even if you use OAuth your password is therefore transferred <strong>once in clear text</strong> over the Internet. <strong>Do not use a valuable password</strong> until the OSM server provides a secure communication channel (HTTPS).
     81</p>
     82}}}
     83
     84For advanced users, OAuth has additional advantages:
     85  * With OAuth you can generate restricted Access Tokens which you given somebody else such that another mapper can act on your behalf. For instance, a mapper could generate an Access Token which grants somebody else the right to download its private GPS traces. Even if he gives this Access Token to somebody else, his OSM password is kept private. In addition, he can revoke the special Access Token at any time. JOSM supports this kind of advanced configuration in the [wiki:/Help/Dialog/OAuthAuthorisationWizard OAuth Authorisation Wizard] with the authorisation procedure '''Manual authorization'''.
     86
     87To use OAuth based Authentication
     88
     89  1. In the Connection Preferences go to the tab '''Authentication'''
     90  2. Select the authentication method '''OAuth based authentication'''
     91  3. Click on '''Authorise now''' to launch the [wiki:/Help/Dialog/OAuthAuthorisationWizard OAuth Authorisation Wizard] (see screenshot below)
     92
     93[[Image(oauth-preferences-step-1.png)]]
     94
     95This will launch the [wiki:/Help/Dialog/OAuthAuthorisationWizard OAuth Authorisation Wizard]. Use one of the available authorization procedures in this dialog to get a valid '''Access Token'''.
     96
     97JOSM displays the retrieved Access Token in the preferences panel (see screenshot below):
     98
     99[[Image(oauth-preferences-step-2.png)]]
     100
     101Deselect the checkbox '''Save to preferences''' if you don't want to save the Access Token in the JOSM preferences. If you don't save it the Access Token will be lost when you close JOSM. If you later startup JOSM again you will have to retrieve a new Access Token to work with OAuth based authentication again.
     102
     103Click on '''Test Access Token''' to submit a test request with the token to the OSM server. JOSM will analyse whether this token is authorized to access the OSM server.
     104
     105Click on '''New Access Token''' to generate a new Access Token.
     106
     107==== Advanced OAuth parameters ====
     108Select the checkbox '''Display Advanced OAuth parameters''' to display the important OAuth parameters
     109  * the [http://oauth.net/core/1.0/#anchor3 Consumer Key] and the [http://oauth.net/core/1.0/#anchor3 Consumer Secret] identifying JOSM as OAuth consumer
     110  * the Request Token URL where JOSM can retrieve [http://oauth.net/core/1.0/#anchor3 Request Tokens]
     111  * the Access Token URL where JOSM can retrieve [http://oauth.net/core/1.0/#anchor3 Access Tokens]
     112  * the Authorise URL where JOSM users are redirected to to authorise a Request Token
     113
     114[[Image(oauth-advanced.png)]]
     115
     116== Proxy Settings == #ProxySettings
     117JOSM communicates with the OSM server using the Hypertext Transfer Protocol ([http://en.wikipedia.org/wiki/Http HTTP]). If required it can relay its requests through a [http://en.wikipedia.org/wiki/Http_proxy HTTP proxy] or a [http://en.wikipedia.org/wiki/SOCKS SOCKS proxy].
     118
     119  1. Go to the tab '''Proxy settings''' in the Connection Preferences
     120  2. Select one of the available options and enter additional configuration parameters
     121  3. Save the preferences
     122
     123[[Image(proxy-settings.png)]]
     124
     125
     126=== Using the standard system proxy ===
     127If you always want to use the proxy defined as standard proxy on your computer you have to start up JOSM with a special command. The command line has to include the parameter {{{-Djava.net.useSystemProxies=true}}}, for instance
     128
     129  {{{java -Djava.net.useSystemProxies=true -jar josm.jar}}}
     130
     131----
     132Volver a [wiki:Es:Help/Action/Preferences Preferencias][[Br]]
     133Volver a [wiki:Es:Help Ayuda principal]