Commit graph

205 commits

Author SHA1 Message Date
jsdelfino
8d13a8e4db Add scripts to support 'Require valid-user' and 'Require group' authz configurations separately.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041681 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 03:59:19 +00:00
jsdelfino
6f3e045ffe Reset auth cookie before re-auth in login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041680 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 03:59:11 +00:00
jsdelfino
14f1ada7b2 Use different servers for cert-based and password-based auth and use event MPMs for tunnel and proxy servers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1039840 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 07:17:11 +00:00
jsdelfino
40d310c40e Minor build fixes. Create missing .so links in sample. Unpack httpd-2.3.8-deps.tar.gz. Update EC2 build scripts to use Ubuntu 10.10 64-bit images.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035553 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 08:16:41 +00:00
jsdelfino
bab50be6e3 Minor build fixes. Link against tinycdb shared library instead of static lib to fix 'relocation R_X86_64_PC32 against undefined symbol' error on 64-bit. Remove deleted scripts from ubuntu/Makefile.am.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035165 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 07:38:44 +00:00
jsdelfino
2c7009b520 Port to Ubuntu server 10.10 64-bit. C++ code fixes required to compile and run on 64-bit. Update INSTALL doc and build scripts. Remove a few obsolete scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034963 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 09:27:28 +00:00
jsdelfino
3ac22b097d Port to HTTPD 2.3.8. Add an auth module to make OpenID, OAuth 1/2 and HTTPD 2.3 Form auth modules play nice together.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034693 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 07:53:10 +00:00
jsdelfino
f46949c289 Add .componentType files describing the utility components. Refactor chat component in two separate components for sending and receiving messages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030527 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:40:19 +00:00
jsdelfino
11894ea5ef Add missing return statement in proxy function.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030526 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:40:01 +00:00
jsdelfino
034b527d25 Improvements to OAuth and OpenID modules. Store client app in an environment variable. Add support for more OAuth providers. Fix a cookie parsing bug.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030524 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:39:53 +00:00
jsdelfino
e378323396 Minor improvements to HTTPD configuration scripts. Add a mod-rewrite rule to redirect requests to configured canonical host name. Move HTTPS redirect mod-rewrite rules under the HTTP virtual host configurations.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1028209 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 07:29:11 +00:00
jsdelfino
1d8cd73b84 Fix path to JavaScript file.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1028208 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 07:29:08 +00:00
jsdelfino
0fa885699a Simplify Javascript component reference API a bit. Rename tuscany-ref.js to ref.js. Add a function to declare reference proxy methods.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027835 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 06:57:31 +00:00
jsdelfino
cd59eb1d7f Fix invocation of ip-redirect commands as they need sudo to execute.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026940 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:18:20 +00:00
jsdelfino
a2a2cb76e9 Support python method invocation style on references, ref.func(...) in addition to ref('func', ...). Minor cleanup of the various samples, renamed gettotal to total and getcatalog to items, for consistency with the python sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026939 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:18:16 +00:00
jsdelfino
0dd33c3859 Improve format of HTTP and HTTPS logs.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026938 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:17:56 +00:00
jsdelfino
a21eaf4bec Adjust location of httpd-2.2.16 distro download as it's now archived.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026937 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:17:52 +00:00
jsdelfino
4503cce859 Minor fixes to get all samples working in a target install dir.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024522 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 05:00:08 +00:00
jsdelfino
ac736cca82 Remove unnecessary javaClass hint attribute from JSON objects.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024521 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:59 +00:00
jsdelfino
86c8643e95 Upgrade to memcached 1.4.5, postgresql 9.0.1 and gae 1.3.7.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:46 +00:00
jsdelfino
9558dae78c Renamed frontcache to datacache and add a memo cache that memoizes function applications.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024519 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:43 +00:00
jsdelfino
96dd2d5cd1 Strip the leading '.' added by some JSON-RPC clients to method names.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999229 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 05:56:51 +00:00
jsdelfino
6f23b6edf6 Change content of sample catalogs to show different results when the app is wired to one or another.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999180 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 01:43:58 +00:00
jsdelfino
6cf128a718 Remove 'javaClass' JSON property as it's not needed anymore.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999176 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 01:18:04 +00:00
jsdelfino
98a4810fb6 Minor change, renamed getcatalog to items.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999159 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 23:30:12 +00:00
jsdelfino
ddf34aa2e6 Improvements to the oauth module and support for oauth 1.0a using liboauth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998571 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 00:09:52 +00:00
lresende
65ed45b968 Fixing compilation issues in 64Bit environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998301 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 20:16:30 +00:00
jsdelfino
35e8051a42 Accept JSON-RPC requests with application/x-www-form-urlencoded content type.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@997187 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 05:08:17 +00:00
jsdelfino
fe52f0dc58 Upgrade build scripts to on Ubuntu 10.04.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@997186 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 05:08:05 +00:00
jsdelfino
5a7306e0e7 Add support nickname property to WSGI / GAE integration code.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993642 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 07:27:09 +00:00
jsdelfino
fdc2b81893 Add some error checking to the OAuth support.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993641 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 07:27:06 +00:00
jsdelfino
8a21fca095 Minor tweaks to make the OAuth support work with Github.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993192 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 01:40:04 +00:00
jsdelfino
f75296a863 Enable OAuth and OpenID to be used together in the same app. Add a few OpenID providers to test login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993178 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 23:26:11 +00:00
jsdelfino
cc3bc602c8 Exclude build output from version control.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993177 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 23:26:05 +00:00
jsdelfino
2d574d2281 Strawman implementation of the OAuth 2.0 protocol. Minor improvements to the OpenID support and changes to enable it to co-exist with OAuth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992963 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 07:45:00 +00:00
jsdelfino
e6c5021001 Use secure cookies for OpenID auth sessions. Renamed OpenID memcached config directive to follow HTTPD naming convention.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992962 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 07:44:44 +00:00
jsdelfino
62d5e37461 Configure mod-auth-openid to use memcached instead of sqlite. Remove dependencies on sqlite.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992219 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 06:24:23 +00:00
jsdelfino
163a913a22 Make sure components execute in the correct contribution directory and fix support for Python relative module imports.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990483 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29 03:19:48 +00:00
jsdelfino
de5a3e20aa Support local in-process function proxies between components contributed by a virtual host and the main host.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988384 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 04:51:25 +00:00
jsdelfino
3c98b27f75 Improve performance by reusing HTTP proxy connections across invocations and using local function proxies instead of HTTP proxies for local wires.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987845 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 05:02:11 +00:00
jsdelfino
b70da6b982 Refactor store-cluster sample components to allow vhosts to share common cache and database components. Minor fixes to config scripts and wiring code to get that combination working.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987844 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 05:02:05 +00:00
jsdelfino
768a1e33e5 Script fixes to get database working with the HTTPS-enabled store-cluster sample configuration. Also some logging improvements and aggregation of the sample logs using scribe.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987012 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 04:10:43 +00:00
jsdelfino
d4184f1ab8 Exclude test program build output from version control.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987011 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 04:10:33 +00:00
jsdelfino
68c4889c3b Fix configuration scripts to create directories if necessary.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985800 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 06:15:31 +00:00
jsdelfino
16f96409b9 Test Postgresql hot standby + replication and integrated Postgresql database in store-cluster sample. Add a front cache component which can be used to wire a cache component and a database component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985799 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 06:15:24 +00:00
jsdelfino
d6451b8170 Some refactoring of the HTTP support, tunnel Memcached requests over HTTPS and add HTTPS config to store-cluster sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985561 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:46:26 +00:00
jsdelfino
91bee1de5a Fix HTTPS config scripts to enable SSL certicates, HTTP basic auth, and OpenID to coexist. Add OpenID support to sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981352 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 01:42:59 +00:00
jsdelfino
9e52793370 Change sample to use a pool of three memcached servers. Add a property to the memcached component to list multiple memcached servers. Replace spaces by tabs in memcached keys as spaces are not allowed in keys.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980010 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:50:21 +00:00
jsdelfino
fe93d86e55 Refactor and cleanup some of the config scripts. Add a sample using mod_proxy_balancer to distribute requests across three servers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980009 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:50:12 +00:00
jsdelfino
50b290072e Change OpenID conf to protect the entire tree under a host, and work with OpenID step2 discovery.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@978945 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 23:21:38 +00:00