Commit Graph
3938 Commits
Author SHA1 Message Date
Pierre Smits 70a9ef70d7 Improved: Have a Menu in Catalog featuring actions to create the main objects (OFBIZ-11774) (#433)
Currently the create buttons for the main objects of the catalog components are located within the find and profile widgets/templates of those object.
In order to improve the usability of OFBiz (and thus the appeal of it for adopters and users) these create buttons/links/etc. should be in a main action menu visible at all times when a user is working within the component.

added: main action menu, having menu-items for
- new product process
- new store process
- new catalog process
- new category process
subject to catalog create permissions

added: decorator section for inclusion of main action menu where appropriate

Some cleanup
2022-01-09 15:54:54 +01:00
Pierre Smits 9bf15d0a49 Fixed: Store Group screen don't connect with grids (OFBIZ-12481) (#435)
Screen EditProductStoreGroupAndAssoc does not connect with grid forms referenced.

Modified: StoreScreens.xml
moved from form references to grid references
removed screen duplicate
additional cleanup
2022-01-09 15:51:11 +01:00
Pierre Smits a9adf8de71 Improved: List and Grid (OFBIZ-11345) (#434)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
ShipmentGatewayConfigScreens.xml: from form ref to grid ref , additional cleanup
ShipmentGatewayConfigForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2022-01-09 09:19:06 +01:00
Pierre Smits 1b0b723887 Improved: List and Grid (OFBIZ-11345) (#432)
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
FacilityGroupScreens.xml: from form ref to grid ref , additional cleanup
FacilityGroupForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2022-01-08 08:59:28 +01:00
Pierre Smits bcd23f784b Improved: List and Grid (OFBIZ-11345) (#431)
According to the definition in widget-form.xsd the use of a combination
of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
FacilityScreens.xml: from form ref to grid ref , additional cleanup
FacilityForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2022-01-07 09:47:03 +01:00
Pierre Smits c7ebb3ffbf Improved: List and Grid (OFBIZ-11345) (#426)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
ShippingScreens.xml in product: from form ref to grid ref , additional cleanup
ShippingForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2022-01-06 12:00:31 +01:00
Pierre Smits 03b16828da Improved: List and Grid (OFBIZ-11345) (#427)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
ProductScreens.xml in product: from form ref to grid ref , additional cleanup
ProductForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-12-29 08:27:10 +01:00
Jacques Le Roux 06092ae0af Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
As advised by SpotBugs:

<<This code creates a java.util.Random object, uses it to generate one random
number, and then discards the Random object. This produces mediocre quality
random numbers and is inefficient. If possible, rewrite the code so that the
Random object is created once and saved, and each time a new random number is
required invoke a method on the existing Random object to obtain it.

If it is important that the generated Random numbers not be guessable, you must
not create a new Random for each random number; the values are too easily
guessable. You should strongly consider using a java.security.SecureRandom
instead (and avoid allocating a new SecureRandom for each random number needed).

Rank: Troubling (14), confidence: High
Pattern: DMI_RANDOM_USED_ONLY_ONCE
Type: DMI, Category: BAD_PRACTICE (Bad practice)>>

uses <<private static final SecureRandom SECURE_RANDOM = new SecureRandom();>>
in classes:
PaymentGatewayServices
ValueLinkApi
ContactMechServices
ProductStoreWorker
DesCrypt
HashCrypt
EntityCrypto
ContextFilter.java

Despite doing so SpotButs still reports the same error for those classes.
As it's obviously an error I prefer to not excludes those cases that will maybe
not be reported in a future version of SpotButs in Eclipse. For instance they
are not reported at all in previous version (4.5.1) but are in 4.5.2
2021-12-26 14:50:32 +01:00
Pierre Smits a4cbc2c7bc Fixed: Price Rules: Price rules configurations are not syncing with eCommerce storefront (OFBIZ-12450) (#424)
* Fixed: Price Rules: Price rules configurations are not syncing with eCommerce storefront (OFBIZ-12450)

When adding a Price Rule, whether it be a Product Category, Product, Party, Party Classification, the system doesn't show a price difference.
The price rules work with the Database as they do get changed when saved. But their functionality doesn't work, it won't give a price increase or decrease or restriction.

Modified:
Various data files to enhance demonstration of price rule functionality

Modified: ProductDemoData.xml
- restructured some price rule data elements
- added additional price rule data elements

Modified:
PriceServices.java: added partyClassificationGroupId to the mix
2021-12-22 16:06:03 +01:00
Pierre Smits a8538c24fd Fixed: PriceRule - values of existing ProductPriceCond record not shown (OFBIZ-12467) (#421)
When a price rule is shown in the screen, the associated existing conditions are not shown in the overview for the conditions
Modified: Priceforms.xml
- changed grid 'EditProductPriceRulesCondition' list-name to reflect correct list
2021-12-18 09:18:38 +01:00
Pierre Smits ea7c4f155b Fixed: PriceScreens.xml - incorrect reference in screen (OFBIZ-12465) (#419)
With commit 92533b5 the reference in screen FindProductPriceRule was not changed
when the relating object in PriceForms.xml changed from form to grid.

Modified: PriceScreens.xml
changed reference in FindProductPriceRule from include-form to include-grid
2021-12-17 09:55:53 +01:00
Jacques Le Roux b9735b208a Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Finally it's better to use || than | (did not check well last time) in
ProductSearchSession::makeSearchParametersString
kc.isAnyPrefix() || kc.isAnySuffix()
So also removes the exclusion

No problem for report field in AbstractReportThread as explained in exclude.xml
2021-12-16 13:09:38 +01:00
Pierre Smits 1c4ca97b72 Improved: List and Grid (OFBIZ-11345) (#405)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
PromoScreens.xml: from form ref to grid ref , additional cleanup
PromoForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-12-12 17:55:54 +01:00
Jacques Le Roux 8b9fc99d7d Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
In ProductWorker::getProductFeaturesApplIncludeMarketingPackage fixes a possible
null dereferencement (tested too late)

In FileUtil::unZip uses a try-w-resource w/ ZipFile to close it. I crossed an
issue with automated OOTB formatting (clean-up on save in Eclipse). Fixed with
my external default editor (could not find where to change that in
OFBizJavaFormatter.xml

In ServiceArtifactInfo::calledServiceEcaSet fixes a possible null dereferencement
(tested too late), also minor formatting

In MacroScreenRenderer::renderScreenletSubWidget fixes a possible null
dereferencement (tested too late)

in FileUtil
2021-12-10 16:09:42 +01:00
Jacques Le Roux bf269556a4 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
In UspsServices::uspsPriorityMailInternationalLabel better complete fixes for
product possible null dereferencements
2021-12-09 11:55:40 +01:00
Jacques Le Roux 5a64c3d27d Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
In exclude.xml:
removes Confidence lines, no need to complicate things
Adds 2 DC_DOUBLECHECK false reports; synchronized is used there (maybe not the
best way but it's OK as is)

In ProductConfigWrapper::equals fixes use of == instead of equals (tested)
In UspsServices::uspsPriorityMailInternationalLabel fixes 2 possible null
dereferencements

In EntityExpr::checkRhsType fixes a possible null dereferencement
2021-12-09 07:25:25 +01:00
Pierre Smits f3e3f8d08b Improved: List and Grid (OFBIZ-11345) (#394)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified:
StoreScreens.xml: from form ref to grid ref , additional cleanup
StoreForms.xml:  from form definition with list ref to grid definition with list ref, additional clean-up
2021-12-08 09:20:07 +01:00
Pierre Smits 92533b5651 Improved: Grid and List (OFBIZ-11345) (#385)
* Imrpoved: Grid and List (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified in product component:
FeatureScreens.xml: from form ref to grid ref , additional cleanup
FeatureForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up

* Improved: List and Grid (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified in product component:
PriceScreens.xml: from form ref to grid ref , additional cleanup
PriceForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up

* Improved: List and Grid (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified in product component:
CatalogScreens.xml: from form ref to grid ref , additional cleanup
ProdCatalogForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-12-07 17:16:34 +01:00
Jacques Le Roux ca03e21ae8 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Rearranges order of modifiers after transient insertion, in classes
ProductConfigWrapper, ModelEntity, ModelViewEntity and ModelService
2021-12-06 09:42:47 +01:00
Jacques Le Roux ed6241cb52 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
transient is needed for not serialisable fields of a Serializable class
2021-12-06 09:23:55 +01:00
Jacques Le Roux a33459dd72 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Renames OfbizControlServlet class to CategoryControlServlet. That name better
corresponds to the reality.

Removes unused/useless var in CatalogUrlSeoFilter and SeoControlServlet
2021-12-05 19:07:16 +01:00
Jacques Le Roux aab412b948 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Renames ControlServlet class to OfbizControlServlet, because it shadowed the
simple name of it superclass
It can be exceptionally confusing, create lots of situations in which you have
to look at import statements to resolve references and creates many
opportunities to accidentally define methods that do not override methods
in their superclasses.

Same for XmlRpcClient.java
2021-12-05 13:03:50 +01:00
Jacques Le Roux 5d64a88226 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Uses SecureRandom rather than Random class in classes
SampleHtmlThread
PaymentGatewayServices
FinAccountHelper
OrderTestServices
ProductStoreWorker
2021-12-05 08:19:42 +01:00
Pierre Smits d60b2344c1 Improved: List and Grid (OFBIZ-11345) (#380)
* Improved: List and Grid (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified in product component:
ConfigScreens.xml: from form ref to grid ref , additional cleanup
ConfigForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up

* Improved: Grid and List (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Overlooked in ConfigScreens.xml references regarding ProductConfigOptionList and ListProductConfigItem

modified in product component:
ConfigScreens.xml: from form ref to grid ref , additional cleanup
ConfigForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-12-04 12:27:47 +01:00
Jacques Le Roux 6818aa1e5b Improved: Picklist is in Input status even after order is completed (OFBIZ-10883)
Just some formatting after fixing possible null dereferencings for OFBIZ-12386
at a3a53b5b72
2021-12-03 16:39:45 +01:00
Pierre Smits 6b17ffc779 Improved: List and Grid (OFBIZ-11345) (#377)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified:
CategoryScreens.xml and CommonScreens.xml in product: from form ref to grid ref , additional cleanup
CategoryForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-12-02 07:54:58 +01:00
Jacques Le Roux a3a53b5b72 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Fixes possible null dereferencings in PackingSession.java and FormRenderer.java

Also a try with resource for FormRenderer because the EntityListIterator was not
closed.

Also removes not used setShipmentBoxTypeId method and shipmentBoxTypeId var in
PackingSession.java
2021-11-29 14:20:07 +01:00
Jacques Le Roux cfb5de4246 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Fixes possible null dereferencings
2021-11-29 14:00:09 +01:00
Jacques Le Roux 7428a29d2b Improved: Try to reduce the SARIF file used by CodeQL for Java classes (OFBIZ-12361)
Fake change to test CodeQL is working for Java
2021-11-23 11:44:19 +01:00
rohitkouandRohit Koushal 05bd9caf12 Fixed: CVE-2021-37608 vulnerability bypass (OFBIZ-12307) (#352)
Fixed the Additional image uploading issue which got somehow missed in service addAdditionalViewForProduct.

Co-authored-by: Rohit Koushal <rohit.koushal39@gmail.com>
2021-11-23 10:35:41 +01:00
Pierre Smits 5cf7781075 Improved: lists and grids (OFBIZ-11345) (#347)
Associating lists in screens with grids in forms.
modified:
ShipmentScreens.xml.xml: from form ref to grid ref
ShipmentForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-18 10:16:25 +01:00
Pierre Smits 38a9b15d89 Improved: Shipment menus (OFBIZ-11344) (#346)
removed: ShipmentTabBar.ftl
added: ShipmentMenus.xml
modified: ShipmentScreens.xml
2021-11-18 07:56:16 +01:00
Jacques Le Roux 62b8113d2b Fixed: In LookupProduct some categories don't show, only blank lines (OFBIZ-12368)
For now only description is shown. OOTB some categories have no description
We can easily fix that by showing more info. I suggest to add categoryName and
productCategoryId. That should be enough. There are then no blank lines since
productCategoryId always show.

This is anyway customisable by users
2021-11-09 10:03:31 +01:00
Jacques Le Roux 6727f469dc Reverted: work related to PartyRole handling initiated with (OFBIZ-5980)
Currently OFBiz is broken and hard to fix. You can't even create an order !

Revert "Improved: visibility of expire button (OFBIZ-12362) (#331)"
This reverts commit e3b125ef4c.

Revert "(OFBIZ-5980) Improvement: PartyRole record(s) expiration/revocation (#330)"
This reverts commit a8ab2be55a.

Revert "Improved: seed data (OFBIZ-12355) (#328)"
This reverts commit b204b867b4.

Revert "Reverted: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)"
This reverts commit 85e066deb3.

Revert "Reverted: damn I did not revert the right push :/"
This reverts commit b867b2a89f.

Revert "(OFBIZ-5980) Improvement: PartyRole record(s) expiration/revocation (#325)"
This reverts commit 8ed2252df8.

Revert "Reverted: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)"
This reverts commit 5b5e03f71b.

Revert "Improved: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)"
This reverts commit 46f7ee91d3.

Revert "Improved: seed data (OFBIZ-12353) (#324)"
This reverts commit fade92bb57.
2021-11-08 20:41:51 +01:00
Pierre Smits a8ab2be55a (OFBIZ-5980) Improvement: PartyRole record(s) expiration/revocation (#330)
added/changed/updated:
- added field definition for from and through date to the entity
- added service for expiration
- request-map for expiration
- appropriate forms to work with  added entity fields
- added groovy code to check existing when adding PartyRole record and call expiration service if needed
- adding fromDate value to seed, test and demo data
2021-11-02 11:36:52 +01:00
Jacques Le Roux 85e066deb3 Reverted: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)
Reverts commit 46f7ee91d3

Reverted on Pierre Smits kindly asking for authoring by pushing a PR, not only a
thanks while committing his patch after testing it locally
2021-11-02 10:30:51 +01:00
Jacques Le Roux 46f7ee91d3 Improved: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)
Currently it only possible to delete a role. That can lead to potential error
messages, when a particular role is associated with records where the roleTypeId
is used as a foreign key in the entity-model/database and the user tries to
delete that role from the list.

In order to avoid such, it is better to revoke the PartyRole record by setting
an expiration date (end date) on the record.

Thanks: Pierre Smits
2021-11-01 12:46:29 +01:00
Jacques Le Roux 2489381f7f Improved: Handle remaining checkstyle errors (OFBIZ-12169)
Adds unused hashCode method to *ArtifactInfo and PackingSession classes
Makes final CmsEvents, ContactMechWorker and PartyWorker classes

There are no longer any checkstyle issues
2021-10-17 15:59:35 +02:00
Jacques Le Roux 38c67d3dde Fixed: Edit record in product promotion, "Promotion Last Modified Date" is invalid, but don't notice to user (OFBIZ-12046)
As Lalit reported it's not really a bug. But an annoying service transformation
of updateProductPromo to entity-auto (I checked using R15.12). Note that
createProductPromo is not affected

I'm not sure other update services using entity-auto are not affected

Thanks: Do Nhu Vy for report, Lalit Dashora  for initial analysis
2021-10-02 13:57:18 +02:00
Nicolas Malin b9c8938bc1 Fixed: ShoppingCart object does not recognize two products with different configurations (OFBIZ-12303)
By adding two equal products with different configurations in eCommerce cart it results in qty aggregation instead of adding 2 separate cart lines.

When we added a new configuration in cart, we analyze all configuration options already present to know if this configuration case is alredy load and merge the quantity added.

Thanks: Alexander Tzvetanov for raise this issue
2021-09-28 17:17:17 +02:00
Jacques Le Roux 6c4238418e Improved: Adds the HTML <input> accept Attribute in form widgets and Freemaker templates (OFBIZ-12049)
Adds HTML accept where it fits, let the more general cases as they are
2021-09-21 17:53:01 +02:00
Jacques Le Roux 71dbb3c824 Fixed: CVE-2021-37608 vulnerability bypass (OFBIZ-12307)
Fixes a number of issues I spotted while working on OFBIZ-12305 in relation with
OFBIZ-12055

The last change I made for OFBIZ-12305 was incomplete, the files could not be
checked by SecuredUpload because they did not exist! This concerns
ImageManagementServices, DataServices, FrameImage and ProductServices classes.
I used Files::createTempFile to fix that.

Also fixes a bug in SecuredUpload where I reversed the check on
fileToCheck.length in Windows case. I also added a comment, Windows 10 now
allows more length (need an OS parameter change though)

Finally, creates public SecuredUpload::isValidText to be used in OFBIZ-12305
2021-09-17 11:44:21 +02:00
Nicolas Malin fcd2c0cec8 Improved: Estimated shipping cost resolution with breaks on price and quantity (OFBIZ-6988)
On the service calcShipmentCostEstimate, each estimated shipment cost is analysed to resolve which ones should be applied on the order.
During the breakQtys block analysis, OFBiz checks if the estimate match the quantity with their breaks and validates if one is good.
If a rule contains multiple break type (ex: weight and price) this will be ignored or use as partial, only one break would be analysed.

To solve it we extend the analyse on the break type combinaison.

After a global code review, we reformat the function to down less code quantity for help the reader on:
 * use an Util function to resolve BigDecimal values
 * dedicate function to resolve the shipping address
 * dedicate function to validate a break type
 * move multiple loop to stream

 Thanks to Gil Portenseigne and Jacques Leroux for their look
2021-09-15 11:45:04 +02:00
Jacques Le Roux 9ea7c6d524 Fixed: CVE-2021-37608 vulnerability bypass (OFBIZ-12307)
Safer completing solution as recommended by weinull orz <weinull@outlook.com>
Previous commit was OK, but better be safe than sorry ;)

Also forgot to commit the DENIEDFILEEXTENSIONS checkstyle change last time

Thanks: weinull orz for the the right suggestion (done 2021-08-13)
2021-09-03 16:49:11 +02:00
Nicolas Malin 3b593f8eda Improved: Propage product features from a marketing package (OFBIZ-12077)
When you create a product as a marketing package, you attempt when you ship this product to have the same constraint as you ship each product that compose it separately.

Marketing Package |  Composed product |  Product Feature
  GIFT_PACKAGE    |                   |
     1            |   GIZMO_HEAVY     |  (WEIGHT) HEAVY_SIZE
     2            |   GIZMO_TINY      |

On this example if I ordered a GIFT_PACKAGE, during the order process, currently you never see that you ordered a product with a feature HEAVY_SIZE, feature that can have some consequence for select a shipping method.

So when we need to analyze the features linked to a product, if the product is a marketing package, we propage the search to all products that compose it
2021-09-01 09:54:43 +02:00
Jacques Le Roux 7f065bc753 Fixed: Wrong uploaded file checked in Image Management (OFBIZ-12297)
When I secured the uploads with OFBIZ-12080 I made a mistake and checked the
wrong uploaded file in Image Management.
2021-07-29 17:23:39 +02:00
Jacques Le Roux 064c956fab Fixed: bug on button from catalog to party associated (OFBIZ-12289)
Problem when trying to access Party linked to Catalog.
When you click on a user associated with a catalog, the framework sends you to
party manager, but it's the currently logged in user that shows up in the
party manager, not the party that you want to see.

To reproduce, just go in the Catalog app, then on Catalogs, add a user to a
catalog, and try to access it via the button.

It comes from the fact that the parameter sent to the party manager via the
link doesn't have the right syntax.

Thanks: Gaetan Chaboussie
2021-07-23 12:55:20 +02:00
Jacques Le Roux 2c421cedfb Fixed: Add http to https redirect rule for ofbiz.apache.org (OFBIZ-10590)
This prevented to run the stable demo, hence the next, weirdly the trunk had
not this problem. Anyway better safe than sorry... Maybe related to Gradle
version or rather libs loaded?

The reason why the stable (and old) demos were not running is because the
EntitySaxReaderTests did not pass
2021-07-20 07:47:32 +02:00
Jacques Le Roux 5a07f9d197 Fixed: Error while calculating cost for a product (OFBIZ-12265)
Step

    Login to the Catalog application and search for any product. Navigate to Costs tab.
    eg:
    https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductCosts?productId=PROD_MANUF
    Scroll down to Auto-Calculate Costs section.
    Select currency say EURO and submit button.

Expected
A new record under the Costs tab.

Actual
Error with no new records.

Thanks: Nameet Jain
2021-06-26 11:53:51 +02:00
Jacques Le Roux 29705efa65 Improved: Add global web.xml to simplify session timeout configuration (OFBIZ-12255)
Currently, session timeout is configured in apps separately, but session is
shared globally, so the smallest one take effects, and it will not take effect
separately for different apps.

Then it is both inconvenient and confusing to increase session timeout value,
as all values in those files need to be updated.

A global web.xml is needed, to simplify session timeout configuration.

Thanks: Xin Wang
2021-06-22 15:51:32 +02:00