Changeset 8074


Ignore:
Timestamp:
06/06/12 15:38:27 (8 years ago)
Author:
pjkersha
Message:

Add test files

Location:
trunk/ndg_oauth
Files:
8 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ndg_oauth/.project

    r8030 r8074  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<projectDescription> 
    3         <name>NDG OAuth</name> 
     3        <name>ndg_oauth</name> 
    44        <comment></comment> 
    55        <projects> 
  • trunk/ndg_oauth/.pydevproject

    r8030 r8074  
    33 
    44<pydev_project> 
     5<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">ndg_oauth Python 2.7</pydev_property> 
     6<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property> 
     7<pydev_pathproperty name="org.python.pydev.PROJECT_EXTERNAL_SOURCE_PATH"> 
     8<path>/Users/philipkershaw/Documents/workspace/ndg_httpsclient</path> 
     9<path>/Users/philipkershaw/Documents/workspace/MyProxyClient</path> 
     10<path>/Users/philipkershaw/Documents/workspace/MyProxyWebService</path> 
     11<path>/Users/philipkershaw/Documents/workspace/ndg_security_python/ndg_security_server</path> 
     12<path>/Users/philipkershaw/Documents/workspace/ndg_security_python/ndg_security_common</path> 
     13<path>/Users/philipkershaw/Documents/workspace/ndg_saml</path> 
     14</pydev_pathproperty> 
    515<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH"> 
    6 <path>/NDG OAuth/ndg_oauth_client</path> 
    7 <path>/NDG OAuth/ndg_oauth_server</path> 
     16<path>/ndg_oauth/ndg_oauth_client</path> 
     17<path>/ndg_oauth/ndg_oauth_server</path> 
    818</pydev_pathproperty> 
    9 <pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.6</pydev_property> 
    10 <pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">python VE17</pydev_property> 
    1119</pydev_project> 
  • trunk/ndg_oauth/ndg_oauth_client/ndg/oauth/client/examples/config/get_url_using_token_app.ini

    r8057 r8074  
    3232           OAuth2Client 
    3333           CertificateRequest 
    34            CertificateSubjectEnvironMiddleware 
     34#           CertificateSubjectEnvironMiddleware 
    3535           SessionHandlerFilter 
    3636           AuthorisationFilter 
  • trunk/ndg_oauth/ndg_oauth_client/serve.py

    r8057 r8074  
    11from paste.script.serve import ServeCommand 
    22 
    3 ServeCommand("serve").run(["get_url_using_token_app2.ini"]) 
     3ServeCommand("serve").run(["test/cert_req_app.ini"]) 
     4#ServeCommand("serve").run(["get_url_using_token_app2.ini"]) 
    45#ServeCommand("serve").run(["req_cert_app.ini"]) 
    56#ServeCommand("serve").run(["get_url_app_proxy2.ini"]) 
  • trunk/ndg_oauth/ndg_oauth_server

    • Property svn:ignore set to
      authn
  • trunk/ndg_oauth/ndg_oauth_server/repoze_who.ini

    r8058 r8074  
    11[plugin:redirector] 
    2 # identificaion and challenge 
     2# identification and challenge 
    33use = repoze.who.plugins.redirector:make_plugin 
    44login_url = /authentication/login_form 
     
    2626[plugin:sqlusers] 
    2727# authentication 
    28 use = ndg.security.server.utils.repoze_who_utils:make_authenticator_plugin 
     28use = ndg.oauth.server.lib.utils.repoze_who_utils:make_authenticator_plugin 
    2929# Use #(login)s, which is translated to %(login)s - this gets round lack of escaping in ConfigParser. 
    3030query = SELECT openid, md5passwd FROM tbusers where accountid = #(login)s 
    3131conn_factory = ndg.oauth.server.lib.utils.repoze_who_utils:make_psycopg_conn_factory 
    32 compare_fn = ndg.security.server.utils.repoze_who_utils:md5_password_compare 
     32compare_fn = ndg.oauth.server.lib.utils.repoze_who_utils:md5_password_compare 
    3333connection_string = host=<databasehost> dbname=<databasename> user=<user> password=<password> 
    3434# The recommended configuration does not work, at least with repoze.who v2.0: 
Note: See TracChangeset for help on using the changeset viewer.