Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 8b0c09f846 Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Here is the first patch with Jquery upgrade from 1.11.0 to 3.2.1 with following 
changes:

Removes JQuery 1.11.0 & JQuery migrate 1.2.1
Adds JQuery 3.2.1 & JQuery migrate 3.0.0

Adds JQuery Browse Plugin . The jQuery.browser() method has been deprecated 
since jQuery 1.3 and is removed in 1.9. 

Upgrades Fancybox 1.3.4 to v3.2.3 

Upgrades JQuery Validation Plugin 1.11.0 to 1.17.0
  Messages_en.js, Messages_cn.js, Messages_se.js, Messages_tw.js and 
  Messages_uq.js manually updated with new changes not present in JQuery 
  Validation Plugin package
  Converted file additional-methods.js and validate.js from dos to unix text
  Upgrades JQuery Form Plugin version: 2.87 (20-OCT-2011) to 4.2.2 
  Upgrades MockJax - jQuery Plugin to Mock Ajax requests 1.4.0 to 2.2.1


Thanks: Aditya 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815824 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 17:35:27 +00:00
Jacques Le Roux c1a11e83ae Fixed: Fix Default or Empty Catch block in Java and Groovy files
(OFBIZ-8341)

While reviewing r1812057 I spotted a bunch of swallowed ClassCastExceptions

I then reviewed all ClassCastExceptions and this fixes all of them with a 
minimal logging

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815797 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 12:32:44 +00:00
Jacques Le Roux 3933ba15c0 No functional change, fixes typos and formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815774 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 07:34:07 +00:00
Michael Brohl 6a807356ab Improved: Added a note about the --offline switch for running Gradle in
an offline environment without internet connection.

Part of the description is copied from the official Gradle documentation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815620 13f79535-47bb-0310-9956-ffa450edef68
2017-11-17 20:03:28 +00:00
Jacques Le Roux 32a5949a1d Improved: refactor list related forms in PartyScreen widgets
(OFBIZ-9405)

For an unknown reason yet grid can't be used for ListPartyIdentification form

Thanks: Swapnil M Mane for spotting the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815504 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 19:48:33 +00:00
Jacques Le Roux ad6293a840 No functional change, updates dependency-check plugin
Also adds more information in README.txt in tools and updates the report used
in wiki. BTW the report seems more interesting, less false positive but still
a lot (due to how Gradle handles dependencies)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815437 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 10:51:37 +00:00
Jacques Le Roux b360e4a5b5 No functional change about Quicksand font license.
Actually I'm not sure Google owns the Quicksand font, the initial author's 
Github is here: https://github.com/andrew-paglinawan/QuicksandFamily
So I removed Google as "proprietary"; I think enough information
is so given

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815427 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 10:10:13 +00:00
Jacques Le Roux d6c05561d3 No functional change.
With this fix, about the Quicksand Google font licensed under the 
SIL OPEN FONT LICENSE Version 1.1, we are now clear from all licensing issues
Though we are still waiting for INFRA-15466 to check the RAT Buildbot result...

BTW I referred to https://nifi.apache.org/licensing-guide.html about how to
handle this case. Only a change in NOTICE was needed, not in LICENSE. Nice TLP
document, that I'll check again later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815412 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 05:54:23 +00:00
Jacques Le Roux e907b65e2c No functional change, fixes the links to themeRuby.png
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815411 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 05:24:13 +00:00
Jacques Le Roux df46e8f12a Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

I missed that siteId could be null due to the try/catch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815342 13f79535-47bb-0310-9956-ffa450edef68
2017-11-15 17:20:52 +00:00
Jacques Le Roux 212a9c2a4e No functional change, simpler code is best
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815302 13f79535-47bb-0310-9956-ffa450edef68
2017-11-15 10:54:28 +00:00
Jacques Le Roux 8876aabde5 Improved: Refactoring methods of PartyServices.java
(OFBIZ-9982)

The methods names and services were ambiguous, this renames them to clearly
show they return a list of parties and not a party

Thanks: Suraj and Michael for discussion at 
http://markmail.org/message/ii7w4vgwusaqxjla

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815300 13f79535-47bb-0310-9956-ffa450edef68
2017-11-15 10:19:21 +00:00
Jacques Le Roux 8b69ba0f73 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

No functional change, missed a compilation issue, 

Thanks: Builbot :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815195 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 10:06:46 +00:00
Jacques Le Roux 8aec1fca42 Implemented: Refactor list related form widgets in various WorkEffort screens
(OFBIZ-9415)

Refactoring various list forms into grids
Refactoring various list form references in screens

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815194 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 09:55:31 +00:00
Jacques Le Roux e438e3f864 Improved: refactor list related forms in PartyScreen widgets
(OFBIZ-9405)

Refactoring various list forms into grids
Refactoring various list form references in screens

jleroux: slightly adapted because of r1799252

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815193 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 09:44:57 +00:00
Jacques Le Roux c5a9b7347e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

No functional change.

I prefer to use URLEncoder.encode(reqParam, "UTF-8") rather than ESAPI HTML 
encoder for 3 reasons:
*  URLEncoder.encode() is sufficient to answer to HTTP response splitting using 
  	Percent-encoding (aka  URL encoding)
*  Consistent and simpler code using basic Java
*  Using "UTF-8" is (more than) recommended, see 
	https://docs.oracle.com/javase/8/docs/api/java/net/URLEncoder.html
	
I will check what using ESAPI HTML encoder entails. As JavaDOc says "Not doing 
so  may introduce incompatibilities." We have 30+ cases, they are maybe OK, but
we need to check...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815192 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 09:33:19 +00:00
Jacques Le Roux 34dbb04abd Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.start.
(OFBIZ-9573)

No functional change, while reviewing r1811413
I noticed we can use a try-with-ress here

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815119 13f79535-47bb-0310-9956-ffa450edef68
2017-11-13 17:06:24 +00:00
Deepak Dixit da9d776edb Fixed: Content related changes needs OFBiz server restart (OFBIZ-9922)
DataResourceWorker call the FreeMarkerWorker.renderTemplateFromString if dataTemplateTypeId is FTL, 
and pass the dataResource.lastUpdatedStamp to update the ftl cache.
But if you use ftl file as objectInfo so dataResource.lastUpdatedStamp will not change if you update the ftl file

Thanks Suraj Khurana for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815059 13f79535-47bb-0310-9956-ffa450edef68
2017-11-13 06:26:53 +00:00
Jacques Le Roux 3fdb72d892 Fixed: Duplicated dollar symbols should be removed from uiLabels.
(OFBIZ-9968)

For example: In 'ProductPromoUiLabels.xml' file 
'ProductPromoCondition.PPIP_PRODUCT_TOTAL', 
'ProductPromoCondition.PPIP_PRODUCT_AMOUNT' etc. 
uilabels contain duplicated dollar symbols 

Thanks: Sonal Patwari

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814934 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 10:15:23 +00:00
Deepak Dixit b90e4cfa53 Fixed: Party Id field missing while creating contact list party in the marketing component (OFBIZ-9698)
Thanks Rubia Elza Joshep for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814928 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 08:47:12 +00:00
Deepak Dixit 0497d6e624 Fixed: Fixed typo introdued at r#1814924
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814927 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 08:33:29 +00:00
Deepak Dixit 547b04f2e0 Improved: Set the default value for Html Form Macro Library. (OFBIZ-7985)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814924 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:38:09 +00:00
Deepak Dixit adad0747b0 Improved: Set the default value for Csv Screen Macro Library, Text Screen Macro Library, Xml Form Macro Library and Xls Form Macro Library. (OFBIZ-7992)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814923 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:19:48 +00:00
Deepak Dixit 25dd721be5 Improved: Set the default value for Html Tree Macro Library.(OFBIZ-7988)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814922 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:14:20 +00:00
Deepak Dixit fda86b20a0 Improved: Set the default value for Fo Screen Macro Library. (OFBIZ-7933)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814921 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:06:52 +00:00
Deepak Dixit 562cbe9aea Improved: Set the default value for Fo Form Macro Library. (OFBIZ-7932)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814920 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:03:23 +00:00
Deepak Dixit 0aec3032e3 Improved: Set the default value for Html screen Macro Library.(OFBIZ-7879)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814919 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 05:55:58 +00:00
Jacques Le Roux 1f4d24e708 Improved: CSS files defined through layoutSettings in GlobalActions are loaded
twice
(OFBIZ-9770)

GlobalActions screen of themes/common/widget/CommonScreens.xml is loaded twice.
1. Included in GlobalDecorator screen of themes/common/widget/CommonScreens.xml
2. Included in GlobalActions screen of framework/common/widget/CommonScreens.xml
Solution: removes the first instance i.e. from GlobalDecorator.

Steps to verify:
All the files (js, css etc) included in this screen are still available.

Thanks: Aditya for the patch et Aishwary Shrivastava for testing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814906 13f79535-47bb-0310-9956-ffa450edef68
2017-11-10 19:09:47 +00:00
Jacques Le Roux 667d3951e5 No functional change, just a comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814902 13f79535-47bb-0310-9956-ffa450edef68
2017-11-10 18:52:36 +00:00
Jacques Le Roux 4b317565af Fixed: ShippingEvents.getShipGroupEstimate() method gives untraceable null
pointer exception for BigDecimal comparison
(OFBIZ-9975)

The compareTo() method of BigDecimal is not null safe. 
When totalAllowance value is null it throws null pointer exception which may be 
difficult to trace sometimes.
Valid null pointer checks should be there before using compareTo() if the 
variable may have a null value in any of the case.

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814873 13f79535-47bb-0310-9956-ffa450edef68
2017-11-10 15:34:27 +00:00
Jacques Le Roux b1dda75f09 Implemented: Framework: Remove inline js for toggleAll calling from ftls and
also remove checkToggle, toggleAll and selectAll js functions
Improved:
(OFBIZ-8300)

Remove inline js for toggleAll, checkToggle and selectAll calling from ftls in 
Framework component. Add class="selectAll" on parent checkbox element for select
all functionality.

Also remove js functions from OFBIZUtil.js. Functions are: toggleAll, selectAll,
 toggle and checkToggle, as all its usage replaced with generic selectAll class 
usage.

Thanks: Amardeep Singh Jhajj and Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814723 13f79535-47bb-0310-9956-ffa450edef68
2017-11-09 12:30:48 +00:00
Jacques Le Roux c9f8410fc7 Fixed: [FB] Find Security Bugs
(OFBIZ-9973)

I missed to encode the request parameter prior to use the canonical pathname

Nevertheless Findbugs continues to complains about missing canonical pathname

I tried 
String safePath = (new File(imageServerPath + "/" + productId + "/" + imageName))
                  .getCanonicalPath();
BufferedImage bufImg1 = ImageIO.read(FileUtil.getFile(safePath));
instead of
BufferedImage bufImg1 = ImageIO.read(new File(imageServerPath + "/" + productId 
                        + "/" + imageName).getCanonicalFile());

Same Findbugs report, I consider it's a false positive and keep the later


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814709 13f79535-47bb-0310-9956-ffa450edef68
2017-11-09 08:54:46 +00:00
Deepak Dixit e8079f171d Improved: Use FlexibleLocation.resolveLocation to resolve the fop.path and fop.font.base.url (OFBIZ-9974)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814708 13f79535-47bb-0310-9956-ffa450edef68
2017-11-09 08:25:36 +00:00
Deepak Dixit 7976ea3ff3 Reverted: At r#1814155 RuntimeException was added to handle runtime exception as per pattern/best practise, but to maintain backward compatibility we need to handle Exception instead of throwing it.
Reason: When the field is encrypted with the old algorithm (3-DES), the new Shiro code will fail to decrypt it (using AES) and then it will
throw an org.apache.shiro.crypto.CryptoException that is a RuntimeException.
For backward compatibility we want instead to catch the exception and decrypt the code using the old algorithm.
This has been discussed at https://s.apache.org/b520

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814704 13f79535-47bb-0310-9956-ffa450edef68
2017-11-09 05:45:47 +00:00
Deepak Dixit 4577532666 Reverted: Unwanted changes from url.properties done at r#1345849, this commit was reverted in r#1446913, but url.properties changes missed during revert.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814703 13f79535-47bb-0310-9956-ffa450edef68
2017-11-09 05:18:26 +00:00
Jacques Le Roux 9067514c96 No functional change, completes r1814642, just a bit better log error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814644 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 20:58:54 +00:00
Jacques Le Roux a0e661da14 Fixed: [FB] Find Security Bugs
(OFBIZ-9973)

FindBugs embeds an option to Find Security Bugs. Here are fixes for 2 cases FB
reported. They both relate to a request parameter that could be corrupted. They
are respectively fixed using URLEncoder.encode() and File.getCanonicalFile()

There are other formatting and minor no functional changes.

Remains not fixed issues related with possible SQL injections that I'll possibly
look at later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814642 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 20:54:09 +00:00
Jacques Le Roux 5be460c18b No functional change, moves rat-excludes.txt to tools branch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814596 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 16:19:11 +00:00
Taher A. Alkhateeb f082aa2b73 Improved: implemented a declarative style of executing integration test reports
The call of execute() directly is against gradle recommendations and I disliked
this piece of code from the moment I wrote it. Luckily the solution is rather
simple by simply replacing the direct call from the graph with a finalizedBy
clause in the java execution task.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814593 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 16:01:50 +00:00
Jacques Le Roux 01a2eb476a Fixed: Inventory Report PDF lists all available statusId's irrespective of
selection criteria
(OFBIZ-7438)

1. Go to Facility -> Inventory 
2. Select a status and perform find
3. Click on Print pdf button

Expected: PDF should show selected statusId
Actual: All available statusId's in the system get listed in the Pdf.

Thanks: Arvind Singh Tomar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814591 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 15:42:16 +00:00
Jacques Le Roux 9c1ea473d2 Improved: Company Logo is missing at Print Pick Sheet PDF
(OFBIZ-7322)

Steps to regenerate:
1) Go to Facility component. Select a facility and submit (Facility for which 
   some orders are available in ready to pick status).
2) Now go to picking screen.
3) From the list of ready to pick orders try to print Pick sheet by clicking on 
   "Print Pick Sheet" button.
4) See the logo is missing in pdf.

Thanks: Pawan Verma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814569 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 11:11:30 +00:00
Jacques Le Roux 5b311d6be2 Fixed: EntityListIterator.getComplateList returns error randomly
(OFBIZ-9919)
Using a dynamic view entity containing groupBy clause and after calling 
getCompleteList method, I am getting an error and it got fixed when I removed 
that ArrayList sizing.
IMO, it might be occurring due to improper size initialization and I see no 
reason for this and it is handled in ArrayList dynamically.

jleroux: moreover there is not much gain for cases where the pre-allocation
makes sense

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814561 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 09:17:41 +00:00
Jacques Le Roux 3894a59045 Fixed: NullPointer Access in CategoryContentWrapper.getProductCategoryContentAsText
when locale parameter is missing
(OFBIZ-9970)

The said method is not nullpointer-safe; it is possible, that the method crashes
 and produces a nullpointer-exception at this point:
String sessionLocale = locale.toString();

Thanks: Dennis Balkir

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814501 13f79535-47bb-0310-9956-ffa450edef68
2017-11-07 13:58:58 +00:00
Jacques Le Roux a1c52626e1 Implemented: Token Based Authentication
(OFBIZ-9833)

Update the comments about ExternalServerJwtMasterSecretKey

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814467 13f79535-47bb-0310-9956-ffa450edef68
2017-11-07 08:58:16 +00:00
Jacques Le Roux 88d1dc8008 Implemented: Token Based Authentication
(OFBIZ-9833)

Comment about production server

I thought it was obvious that you should not keep this file on a production
server after having changed the default value of 
ExternalServerJwtMasterSecretKey

Moreover we recommend to have the value of ExternalServerJwtMasterSecretKey 
dynamically generated during each build to increase security

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814402 13f79535-47bb-0310-9956-ffa450edef68
2017-11-06 12:41:33 +00:00
Jacques Le Roux a09fc01405 Reverted: Secure the login.secret_key_string
(OFBIZ-9966)

Before having a discussion about the security of this, reverts on 
Michael's request on dev ML 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814392 13f79535-47bb-0310-9956-ffa450edef68
2017-11-06 10:51:57 +00:00
Jacques Le Roux 0d0badf38e Implemented: Token Based Authentication
(OFBIZ-9833)

I have tested the Token Based Authentication between my local machine and the 
trunk demo. It works as expected.

This completes the previous commit by:
  adding a new externalServerLoginCheck pre processor
  Documenting how to set the ExternalServerJwtMasterSecretKey in production
    using sed and uuidgen
  Adding documenting properties in security.properties, not set to be used OOTB
   but ready to be set in production

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814363 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 17:33:30 +00:00
Jacques Le Roux 9d31ccb222 Documented: Secure the login.secret_key_string
(OFBIZ-9966)

No functional change, this completes the previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814362 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 17:27:01 +00:00
Jacques Le Roux 8289e03096 Fixed: Secure the login.secret_key_string
(OFBIZ-9966)

When OFBIZ-4983 was implemented I missed that we put the login.secret_key_string
 as a property in security properties. This should not have been because it 
eases attackers work.

The recommended way is to have it as a private static final String that can be 
changed just when compiling using sed and uuidgen. So then the key is temporay 
and final and it gets quite harder for a possible attacker to use this mean.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814349 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 11:28:42 +00:00
Jacques Le Roux 77be02222b Reverts, this slipped in inadvertently with r1814292
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814348 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 11:07:50 +00:00