Jacopo Cappellato
ebee864c7c
Updated path to reflect the new folder structure.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559038 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 13:06:31 +00:00
Si Chen
6588992d81
Null check for spider session removal code, to prevent crashes in cases you didn't set it up in url.properties
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556198 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 01:16:16 +00:00
David E. Jones
6e7543f378
Added some stuff for client authentication with HTTP Basic Auth, and doing so more easily (ie does the base64 encode and sets the request header, etc)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553233 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 15:11:07 +00:00
David E. Jones
b7feb3d18f
Appled patch from Adrian Crum in Jira #OFBIZ-1117 to add some timeZone passing and retreival code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553122 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 08:20:55 +00:00
David E. Jones
6f31121a2b
Changed this to fix an NPE when the post() method with no arguments is called
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551411 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 00:10:54 +00:00
Jacques Le Roux
b67954e73a
A patch from Dimitri Unruh "Remove sessionid for Googlebot & Co." ( https://issues.apache.org/jira/browse/OFBIZ-857 ).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550673 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 03:56:42 +00:00
Andrew Zeneski
41bb3567be
updated http client with additional settings
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549635 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 22:26:44 +00:00
Jacopo Cappellato
399fab0d33
Applied patch by Adrian Crum to implement User Time Zone Selection Capability.
...
OFBIZ-1079
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548646 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 08:08:53 +00:00
Jacopo Cappellato
f1d33d64a0
New date/time util methods that take into account TimeZones from Adrian Crum (based on an initial contribution from Vinay Agarwal): part of OFBIZ-2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545695 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 05:58:25 +00:00
Andrew Zeneski
156058dfd9
added toGMTTimestampString() method from Anil Patel
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545578 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 18:21:12 +00:00
Jacopo Cappellato
a690d76407
Applied patch from Peter Goron to update jdbm to latest stable release: 1.0
...
OFBIZ-575
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545447 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 07:47:50 +00:00
Andrew Zeneski
083ebf6c81
implemented a trust any SSL client
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541695 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 15:48:09 +00:00
David E. Jones
fd80b38061
Small change so this message is on the info level as it is mostly for developer info during testing and doesn't mean much in production
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541155 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:26:40 +00:00
David E. Jones
18ef0d30c3
A few changes to better handle errors and to log less information that isn't so critical by default, ie use more verbose instead of info; this is based on some production log reviews
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541022 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:47:11 +00:00
Andrew Zeneski
9c1cbc769a
changed thread dump to only display during debugging (verboseOn())
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 18:14:29 +00:00
Andrew Zeneski
2dac5ba175
added new notify level to log4j - calls directly into the SMTPAppender to notify (email) specific log messages; use Debug.logNotify() to call into this; only use this for very NEED TO KNOW problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537276 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 20:05:04 +00:00
Andrew Zeneski
b7aee92c39
now dumps a thread list on shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537058 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 01:04:35 +00:00
Andrew Zeneski
bef0bf17ee
small changes to re-use better code already available in keystoreutil
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536035 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 00:43:09 +00:00
Andrew Zeneski
5cd5d63cb9
applied patch from Ashish Vijaywargiya making generic use of pulling data from request, session, etc into a combined map; refactored to remain backwards compatible JIRA issue OFBIZ-967
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536030 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 00:25:01 +00:00
Andrew Zeneski
a3c54d8f18
updated to use system line ending
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536029 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 00:22:59 +00:00
Andrew Zeneski
269c6ef0f8
turns out that only one trust manager is used; so to handle multiple trust stores, a new MultiTrustManager has been implemented; the system trust store now tries to load from all possible locations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@535056 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 01:50:13 +00:00
Andrew Zeneski
cfb77fe246
set secure random
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534996 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 21:55:48 +00:00
Andrew Zeneski
8e5234d13c
removed log4j settings from debug.properties; added new log4j.xml configuration; updated start.java to use the new path to base and the new log4j configuration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534934 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 17:09:23 +00:00
Jacopo Cappellato
cb45bf991b
Upgrade to log4j 1.2.14 (latest stable release).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534007 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 11:06:19 +00:00
Jacopo Cappellato
389737ca72
Upgrade to javolution 4.2.8 (latest stable release).
...
Note that now java 1.5+ is required.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534005 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 11:04:15 +00:00
Jacopo Cappellato
aaa243eb53
Applied patch from Scott Gray in OFBIZ-937:
...
setMaximumFractionDigits should be called after setCurrency, otherwise setCurrency changes it back to the default for that currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533347 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 14:19:59 +00:00
David E. Jones
621d3d1d0e
Some fair refactoring of the VisitHandler class to make it more resilient and centralize some of the data gathering in the ControlServlet; along with this are fixes for a couple of problems that caused the initial request data to be missing from the Visit especially on logout which cleared the session; this has been broken for a long time so is hopefully resolved now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533037 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 09:39:09 +00:00
Andrew Zeneski
768f220859
fixed X500 converter to support commas in names (broken since it is split on comma)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 03:45:40 +00:00
Andrew Zeneski
d45f5643fd
added getLocation method
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532577 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:30:51 +00:00
Andrew Zeneski
5073124b68
made the pattern which finds the userLoginId from the common name (x500) configurable; also can disable cert login from security.properties
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532403 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 16:45:18 +00:00
Andrew Zeneski
85747a3ec2
fixed bugs in truststore loading; added method to load the keystore from the configuration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532041 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 18:51:59 +00:00
Andrew Zeneski
2d40130ffd
changed loop to use Arrays method; added a few methods for reading/writing keystores (not fully tested yet)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531546 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 18:05:36 +00:00
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
ec4177bd91
added methods to StringUtil to convert results of Map.toString() and List.toString() back to Map/List (assuming the contents are Strings for now); changed the ObjectType for Arrays->List conversion to only run when the type is List (per discussion on Dev list)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529716 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:06:45 +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
b5909605e3
changed to use the normal host checking by default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529496 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 06:10:57 +00:00
David E. Jones
5003ee5a9f
Fixed compile error; I think related to some stuff Andrew Zeneski was working on, so will do this for now and let him review it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529492 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 05:49:04 +00:00
Andrew Zeneski
0ea3b57138
now uses the new hostname verifier code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529428 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:49:11 +00:00
Andrew Zeneski
88a4d9e5d6
implemented hostname verifier so that SSL certs do not HAVE to match that of the site; as long as we add them to the trust store
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529427 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:48:52 +00:00
Andrew Zeneski
0af480b6e7
now ignores the issuers; since we are looking for a specific alias; we now just look up that alias for all issuers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529425 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:48:09 +00:00
Andrew Zeneski
a4410b3f20
added missing SecureRandom to SSL Factory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528069 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:11:46 +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
868f076307
updated some methods related to certs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528015 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 16:32:00 +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
David E. Jones
991e0cc752
A few new methods for convenience, especially working with Lists and Maps of Maps and doing certain calculations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526354 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 04:19:10 +00:00
David E. Jones
92a0c2aab0
Fixed a couple of issues with the appserver template stuff, still does not seem to be getting the classpath entries though, and little tweaks like adding the cached class loader container did not help; somehow the component class path stuff isn't making it through
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526071 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 06:23:29 +00:00
David E. Jones
a92d7653ae
Changed to better handle the error when the bsh location is not valid
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525281 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 21:17:50 +00:00
Andrew Zeneski
31e29fdc5c
small change to get information from other places
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523909 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 02:06:06 +00:00
Andrew Zeneski
394d1201fa
added option for running just a single component's test suite;
...
java -jar ofbiz.jar -test -component=[componentName]
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523053 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:56:52 +00:00
Jacopo Cappellato
257f417108
Added a new 'runtime' folder, at the same level of 'applications', 'framework' etc..., where all the runtime data such as logs, derby db files and output (such as the pdf report files that can be created with the new service) are created.
...
Removed the logs and data folders from the framework folder.
Still need to be migrated to the new folder the catalina/work folder: I'm sorry but I don't know how to do this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:02:57 +00:00