Changes between Version 11 and Version 12 of udg/ecoms/RPackage/authentication


Ignore:
Timestamp:
Mar 9, 2015 5:46:38 PM (7 years ago)
Author:
juaco
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/RPackage/authentication

    v11 v12  
    11== Authentication
    22
    3 The '''ECOMS-UDG''' is based on a password-protected THREDDS using OPeNDAP and other remote data access protocols. Therefore, before accessing the data, authentication is required. To this aim, user's must be registered and activate the required roles, as described in the [wiki:EcomsUdg/DataServer/Registration Registration section].
     3The '''ECOMS-UDG''' is based on a password-protected THREDDS using OPeNDAP and other remote data access protocols. Therefore, before accessing the data, authentication is required. To this aim, user's must be registered and activate the required roles, as described in the [http://meteo.unican.es/trac/wiki/udg/ecoms/dataserver/registration Registration section].
    44
    55Once registered as users, the registration within the R session can be easily accomplished assuming that we already have a valid username, role and password, with a simple call to the function `loginECOMS_UDG`, providing HTPP authentication:
     
    1010{{{
    1111#!text/R
    12 > username <- "myUsername" # This is a character string with the username
    13 > password <- "myPassword" # This is a character string with the password
    14 > loginECOMS_UDG(myUsername, myPassword)
    15 
     12username <- "myUsername" # This is a character string with the username
     13password <- "myPassword" # This is a character string with the password
     14loginECOMS_UDG(myUsername, myPassword)
    1615}}}
    1716
     
    2019{{{
    2120#!text/R
    22 > proxyHost <- "proxy.host.com" # Your institution Proxy configuration: host
    23 > proxyPort <- as.integer(1234) # and port
    24 > loginECOMS_UDG(myUsername, myPassword, proxy.host = proxyHost, proxy.port = proxyPort)
     21proxyHost <- "proxy.host.com" # Your institution Proxy configuration: host
     22proxyPort <- as.integer(1234) # and port
     23loginECOMS_UDG(myUsername,
     24               myPassword,
     25               proxy.host = proxyHost,
     26               proxy.port = proxyPort)
    2527
    2628}}}
    2729
    28 Note that the object `proxyHost` is a character string while the `proxyPort` must be an integer.
     30Note that the object `proxyHost` is a character string while the `proxyPort` must be an integer value.
    2931
    3032