Adrian Crum
a4d68934c9
Converted GenericDelegator concrete class references to Delegator interface references.
...
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Jacques Le Roux
874e1d38dc
ASL2 headers, I guess it's OK now, to check see http://ci.apache.org/projects/ofbiz/rat-output.txt
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812033 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 08:20:26 +00:00
Andrew Zeneski
a3586b9371
added partyId field so email gets logged as communication event
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774199 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 05:01:36 +00:00
Andrew Zeneski
485805fe3f
Renamed AbtractAuthorization to AbstractAuthorization (bad typo)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770836 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 21:53:29 +00:00
Andrew Zeneski
87535e2f67
Often thread pools do not clear ThreadLocal, implemented a workaround to handle this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770771 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 17:47:52 +00:00
Scott Gray
1e0f7725cd
Fix the auth tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770655 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 12:47:33 +00:00
Scott Gray
6fddaf6815
Removed unnecessary delegator since a test delegator is provided by the parent class. I need to make it final so this
...
doesn't happen but JUnit instantiates the object so I can't do it without extending their class. It's on my todo list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770596 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 09:19:43 +00:00
Andrew Zeneski
f36c5a9335
No longer requiring the boolean field 'expanded' as part of the API; after dicussing w/ Adrian; the FSE can handle pre-expanded strings
...
Added new API method findMatchingPermission() which takes a regular expression for the base permission returning the value of all matching permissions (see unit tests)
Fixed missing base permission in SecurityData.xml
JIRA OFBIZ-2381
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770401 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:14:48 +00:00
Andrew Zeneski
15e577f68e
added license header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770036 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 02:02:39 +00:00
Adam Heath
65fce55790
Oops, this class got modified to use the removed AbstractHandler
...
before I removed AbstractResolver. Rewrote it to use ServiceRegistry
instead, which, as before, simplifies the code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770028 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 01:21:11 +00:00
Adrian Crum
e34785168f
Fixed a problem with the new auth code that was preventing compilation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769991 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 23:18:24 +00:00
Andrew Zeneski
c0d6530bb6
Added check to prevent recursive permission lookup (when implementing dynamic access logic using services) - JIRA OFBIZ-2381
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769963 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 22:08:07 +00:00
Andrew Zeneski
3492a12c3c
Implementation of new Authz dynamic access handler using the service engine; placed in securityext to prevent cross dependencies. Implemented test cases for authz.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769929 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:02:58 +00:00
Adam Heath
14ea43adaf
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759255 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:01:44 +00:00
Adam Heath
a3adf0acfe
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757094 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:45:04 +00:00
Jacques Le Roux
7818a0afe2
A patch from Bruno Busco "Adding forgot password feature in framework" ( https://issues.apache.org/jira/browse/OFBIZ-1984 ) - OFBIZ-1984
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703647 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 11:01:01 +00:00
Adam Heath
83de5c84bd
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:14:11 +00:00
David E. Jones
329631a4b5
A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
Jacopo Cappellato
458fee5883
Fix for compile time error caused by the recent work on password encryption: I hope I have converted the old method in the proper way.
...
Thanks to Vikas Mayur for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652468 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 10:07:30 +00:00
Andrew Zeneski
2eed3eec50
added code which uses "rememberMe" parameter to store a cookie with the user's login ID
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590554 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:33:50 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
David E. Jones
ca526c3957
Some improvements to how sequencing is done, including a new method in the GenericDelegator that does a sequence and create all in one, including a single retry with bank refresh on failure because of duplicate ID just in case two sequencers somehow get the same ID bank; in theory that is impossible but it has been observed in production and this is part of the 2 part solution to handle the problem more elegantly than having to restart the servers, and to try to find out just how two sequencers got the same bank of values; this includes changing a number of key code blocks to use the combined sequence and create for retry, and a little bit of code cleanup too
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582142 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 09:02:49 +00:00
Jacopo Cappellato
4e8e2dac8e
Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Andrew Zeneski
1131e13a6c
added first pass of X509 issuer import screen; will import into trust store; and create the issuer record
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532598 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 03:48:21 +00:00
Jacopo Cappellato
82a5bf4147
Applied (modified) patch from Stefan Huehner (OFBIZ-770) to use isEmpty(...) method for null/empty validation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514366 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 06:59:23 +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
Jacopo Cappellato
89a75b6502
Removed author information from all the files of the "securityext" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454087 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 06:18:54 +00:00
David E. Jones
0bd3edd5ab
Fixed package in login events; in LoginWorker changed to work with or without the party component
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431028 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:57:37 +00:00
David E. Jones
1cfc0d356f
Moved LoginServices to the common component because it is used by framework components, and doesn't depend on the application components
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431023 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:38:51 +00:00
David E. Jones
c84ed3c644
Moved the more core login methods from LoginEvents to LoginWorker as they don't depend on the applications stuff but are used by the framework stuff; also updated various text references to the new locations
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431021 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:12:18 +00:00
David E. Jones
a37eba072e
Moved LoginEventListener from applications to framework as it only depends on framework, and is also used by webapps there too
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431016 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:24:34 +00:00
Jacopo Cappellato
f686cbba98
License change from MIT to ASL2.0 for misc files of applications components.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423896 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 11:25:08 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00