Andrew Zeneski
7cbcc85cbd
refactored x509 implementations; now it will use the certificate to determine the userlogin; tomcat changed to ignore cert files (just pass through) so all checking can be handled by ofbiz; login worker updated to use new method of cert checking; added isser entity to configure what issuers are allowed to sign login certs (the certificate must also be included in a trust store) new component based trust/cert stores configured in ofbiz-component.xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531272 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 20:56:58 +00:00
Andrew Zeneski
a8dff4a381
added Array to List conversion
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529696 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 18:08:25 +00:00
Andrew Zeneski
4cef879e88
x509 required SSL to function; added code to make sure you can't slip by the security by using HTTP (instead of HTTPS)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529423 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:46:24 +00:00
Andrew Zeneski
4932217a02
XML-RPC handler only returns valid out parameters back; no more internal parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529339 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 17:45:33 +00:00
Andrew Zeneski
27212c4d9e
changed x509 code to looked certs in the database by serialnumber instead of trying to query the clob
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528719 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 00:36:42 +00:00
Andrew Zeneski
250e352b3d
changed name of method to a more proper name; not just truststores, but any keystore
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528045 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 17:14:30 +00:00
Andrew Zeneski
7ad476e218
fixed bug in x509 code where the ofbiz default trust store failed to load (bad protocol)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527755 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:12:56 +00:00
Andrew Zeneski
df64c2610f
fixed auto-login from x509 cert
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527736 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 00:14:37 +00:00
Andrew Zeneski
8a49232950
implemented x509 certificate security for specific requests (define with security attribute x509=true)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527718 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:36:50 +00:00
Andrew Zeneski
8c9e6bd5c6
implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:30:22 +00:00
Andrew Zeneski
2ad2dc2e47
RPC calls now return service errors as an XML response; not as an exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523435 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 18:46:09 +00:00
Andrew Zeneski
3577c779de
implemented echo back in XML-RPC; will return back the request in a valid XML-RPC XML message; use the query string ?echo to any request to enable this; note the request will not actually run, just echo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523176 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 05:07:45 +00:00
Jacopo Cappellato
597766520d
Properties files for all OfBiz modules available in romanian language.
...
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:36:11 +00:00
Andrew Zeneski
5a41ee8f99
added VERY simple xml-rpc test; however this does not work unless OFBiz is running on port 8080
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523057 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:57:25 +00:00
Andrew Zeneski
feab93f4ea
XML-RPC now will accept un-named services parmeters in order which they appear in the servicedef
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523051 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:42:29 +00:00
Andrew Zeneski
1fea1fc2dc
added XML-RPC client libs for test cases
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523049 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:36:23 +00:00
Andrew Zeneski
0620606b87
implemented XML-RPC to service engine
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521060 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 00:51:42 +00:00
David E. Jones
939fca3962
Chagned ofbizContentUrl to not NPE when there is no request in the context; now tries to do its best with the standard content prefix from url.properties; this was happening in the Order PDF with an image URL which should probably not use ofbizContentUrl in the first place, but now will at least work
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517731 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 15:31:24 +00:00
David E. Jones
b5a7493883
Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
Jacopo Cappellato
a7c598bd9b
Removed unused imports: thanks to Stefan Huehner (OFBIZ-513) for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:33:34 +00:00
Jacopo Cappellato
f69d0c1960
Applied patch from Stefan Huehner (OFBIZ-515) to fix string comparison.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514196 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:18:40 +00:00
Si Chen
3cbc9ca452
removing RequestHandler from request attributes before a request-redirect. OFBIZ-750
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513430 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 18:32:40 +00:00
Andrew Zeneski
48a2428618
default-request now gets included
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510736 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 00:54:02 +00:00
Andrew Zeneski
ca459744d6
added new object to request to keep the actual request processed; used when default request kicks in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509877 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 03:36:22 +00:00
David E. Jones
e5ed2900bb
Added _REQUEST_HANDLER_ to request attribute, in addition to its place in the ServletContext
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509127 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 08:28:44 +00:00
Andrew Zeneski
2f30ad50f1
implemented default request for web applications; setting a default-request will forward all requests which do not have a valid mapping to this specific request. Here you can process additional information, forward to a landing page, etc
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509068 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 02:52:31 +00:00
Si Chen
e2facb2fac
Applied patch from Andrew Sykes to run services synchronously in webtools (OFBIZ-677)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507567 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:12:32 +00:00
Andrew Zeneski
70ee48ef80
implemented RomeEventHandler; calls a service (should implement the rssFeedInterface which returns a WireFeed object) to generate a RSS feed; returns the feed to the browser
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507364 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:54:29 +00:00
Andrew Zeneski
3dad964b31
changed order so that event handlers can get access to the request handler from the servlet context
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507363 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:53:03 +00:00
Andrew Zeneski
ef97324303
added JDOM and ROME libraries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507362 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:52:29 +00:00
Hans Bakker
11e199ea42
update of fop jars to version 0.93
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506261 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 03:55:22 +00:00
David E. Jones
3415c28553
Based on feedback from Anil Patel changed the max to unbounded for the include element so represent how it is actually implemented
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505674 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 11:12:59 +00:00
Alfred Maxwell Byers
cf34240e6b
Put a test for null result map, like in ServiceEventHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504816 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 07:53:45 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Andrew Zeneski
78e184e344
fixed problem with root context; the control path would come back as //control instead of /control; big problem just not getting noticed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497883 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:31:52 +00:00
Jacques Le Roux
64cea174fc
This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Jacques Le Roux
a5632fa086
This is hte change of ASL2 headers in java files only.
...
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
Jacques Le Roux
c27a34e566
A patch from Christian Geisert for "Incorrect rendering of international characters in PDF reports created using XSL:FO" ( https://issues.apache.org/jira/browse/OFBIZ-170 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@495969 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 21:05:57 +00:00
Si Chen
fd8fcc9134
OFBIZ-554: Include the sessionId in the request handler log messages. Includes a new method to get the sessionId from an HttpServletRequest, which returns "unknown" if no session is defined.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@491944 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 22:18:31 +00:00
David E. Jones
e7f2f16cb8
Restored FreeMarkerViewHandler.java without the JPublish stuff; needed for certain JSP/Region pages in WebTools which are now working again
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486969 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 05:39:06 +00:00
David E. Jones
e9bdbf0d28
Re-applied the patch from Adam Heath in Jira #OFBIZ-401 to update BSF to the Apache version 2.4.0; with JPublish gone this should work much better now
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486518 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 06:58:02 +00:00
Andrew Zeneski
afc049a283
added event handler to wrap around the service event handler and return the output as a JSONObject (for use w/ AJAX)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485986 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 02:29:24 +00:00
Andrew Zeneski
d0cf5c431f
added JSON-LIB and EXMorph libaries (both Apache 2.0 License)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485984 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 02:28:12 +00:00
David E. Jones
71a25d953d
Remove JPublish and EdenLib, now they are gone; includes doc/notice file updates too
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485565 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 08:59:37 +00:00
Jacques Le Roux
bd428bde64
A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" ( https://issues.apache.org/jira/browse/OFBIZ-530 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux
f855cb3f2b
A patch from Stefan Huehner "Code-Cleanup: remove superflous new String and .toString() calls" ( https://issues.apache.org/jira/browse/OFBIZ-533 ).
...
This files was missing because I had to revert them to resolve previous conflict
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484974 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:15:39 +00:00
Jacques Le Roux
084ff1b883
A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" ( https://issues.apache.org/jira/browse/OFBIZ-536 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacques Le Roux
eb82782d03
A patch from Stefan Huehner "Remove unused variables" ( https://issues.apache.org/jira/browse/OFBIZ-525 ).
...
Issue is not closed : more patches to come
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
Jacques Le Roux
3abcbcf1fa
A patch from Peter Goron :"Allow user to give a name to the job he is scheduling" ( https://issues.apache.org/jira/browse/OFBIZ-519 )
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482807 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 22:20:39 +00:00
Jacopo Cappellato
b26c3800f0
Removed unused imports.
...
Thanks to Stefan Huehner for the patch
OFBIZ-513
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481561 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 14:06:10 +00:00