Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3364: add TransactionAwareSessionContext implementation to fix 'No Session Found for current thread' issue.

This is not yet bound to hibernate.properties

    • -0
    • +162
    ./lamsfoundation/lams/util/hibernate/TransactionAwareSessionContext.java
LDEV-3366: Fix Learning Library IDs which were not set correctly when importing a Learning Design.

    • -0
    • +13
    ./lamsfoundation/lams/dbupdates/patch02040033.sql
LDEV-3366: Fix Learning Library IDs which were not set correctly when importing a Learning Design.

    • -0
    • +13
    ./lamsfoundation/lams/dbupdates/patch02040033.sql
LDEV-3359: Fix LearningLibraryID when importing a Tool activity.

    • -0
    • +12
    ./lamsfoundation/lams/tool/Tool.java
  1. … 1 more file in changeset.
LDEV-3359: Fix LearningLibraryID when importing a Tool activity.

    • -0
    • +12
    ./lamsfoundation/lams/tool/Tool.java
  1. … 1 more file in changeset.
LDEV-3364: Fix CRON ResendMessagesJob execution when no Hibernate Session was bound to thread.

Remove EventNotificationService usage via singleton reference and call DAO methods with service layer in-between to support transactions.

    • -4
    • +29
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +16
    ./lamsfoundation/lams/events/IEventNotificationService.java
LDEV-3331: Allow logging in via integrations. Allow redirecting to a given URL after log in. Adjust sysadmin "login as" functionality.

  1. … 3 more files in changeset.
LDEV-3315: Add security service and use it in vital entry points.

LDEV-3315: Add security service and use it in vital entry points.

    • -2
    • +2
    ./lamsfoundation/lams/commonContext.xml
LDEV-3349: Fix processing bug so the LD can get to validator.

LDEV-3315: Add security service and use it in vital entry points.

    • -0
    • +21
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +39
    ./lamsfoundation/lams/security/ISecurityDAO.java
    • -0
    • +59
    ./lamsfoundation/lams/security/ISecurityService.java
    • -0
    • +123
    ./lamsfoundation/lams/security/SecurityDAO.java
    • -0
    • +37
    ./lamsfoundation/lams/security/SecurityException.java
    • -0
    • +138
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 9 more files in changeset.
LDEV-3349: Fix processing bug so the LD can get to validator.

LDEV-3315: Add utility methods for security. Use the new SecurityService in several places.

  1. … 5 more files in changeset.
LDEV-3332: revert spring-beans schema declaration in application context xml files. export spring meta-inf in jboss-deployment-structure.xml

It is way more elegant approach to fix an issue with spring-beans.xsd loading from internet.

    • -1
    • +1
    ./lamsfoundation/lams/applicationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/beanRefContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/commonContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/integrationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/messageContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/toolApplicationContext.xml
  1. … 70 more files in changeset.
LDEV-3332: fix spring contexts declaration to find spring-beans-4.0.xsd locally at classpath.

Having spring module defined as a set of spring jars (as we do have in Wildfly), it is impossible for spring to resolve xsd schema mapping file 'spring.schemas' correctly. With set of jars, we have 5 instances of this file (with different content) under the same path 'META-INF/spring.schemas'. This ended up in spring not beeing able to map spring-beans-4.0.xsd URL path to local resource location. Finally, this xsd was loaded from internet - and that significantly slowed Wildfly startup.

With this fix LAMS is way (depends on internet connection) faster to start.

    • -1
    • +1
    ./lamsfoundation/lams/applicationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/beanRefContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/commonContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/integrationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/messageContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/toolApplicationContext.xml
  1. … 69 more files in changeset.
LDEV-3275: Add missing library dependencies.

  1. … 9 more files in changeset.
LDEV-3327: delay first execution of ResendMessagesJob

Start first ResendMessagesJob execution 2 minutes after class is loaded. EventNotificationService is usually initialized together with Wildfly environment and 2 minutes are given to WIldfly to initialize properly.

LDEV-3275: Add SsoConsumer in LAMS Central as requests (index.jsp, index.do) immediate after j_security_check are also being authenticated. They also are considered an authentication attempt, but they bypass shared session creation in SsoProducer and it causes errors. This was addressed by a simple check - no shared session in UniversalLoginModule, no authentication attempt.

  1. … 2 more files in changeset.
LDEV-3319: Synchronize patch execution with an external monitor. Modules in WildFly can be loaded in parallel. AutoPatch is not ready for this as it uses static methods with unsynchronized collections. Each AutoPatchService instance should be run sequentially.

    • -0
    • +30
    ./lamsfoundation/lams/dbupdates/AutoPatchServiceSynchronizer.java
    • -0
    • +26
    ./lamsfoundation/lams/dbupdates/WebAppJNDIMigrationLauncherSynchronizer.java
  1. … 31 more files in changeset.
LDEV-3275: Allow NULL attributes in shared sessions.

LDEV-3293: Clear log warnings : "HHH000038: Composite-id class does not override equals(): org.lamsfoundation.lams.learningdesign.GroupUser" and "HHH000039: Composite-id class does not override hashCode(): org.lamsfoundation.lams.learningdesign.GroupUser"

LDEV-3320: fix Infinispan configuration as 2nd level cache of Hibernate. The problem was, that for plain Hibernate usage, Infinispan has to be eagerly initialized (an already present when Hibernate starts). Also RegionFactory was changed to JNDIRegionFactory.

    • -3
    • +5
    ./lamsfoundation/lams/applicationContext.xml
  1. … 1 more file in changeset.
LDEV-3315: Add security service and use it in vital entry points.

    • -2
    • +22
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +39
    ./lamsfoundation/lams/security/ISecurityDAO.java
    • -0
    • +53
    ./lamsfoundation/lams/security/ISecurityService.java
    • -0
    • +103
    ./lamsfoundation/lams/security/SecurityDAO.java
    • -0
    • +37
    ./lamsfoundation/lams/security/SecurityException.java
    • -0
    • +131
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 7 more files in changeset.
LDEV-3315: Clean up roles and paths to secured resources in all modules. Remove AUTHOR ADMIN role.

    • -0
    • +12
    ./lamsfoundation/lams/dbupdates/patch02040032.sql
  1. … 68 more files in changeset.
LDEV-3315: Remove AUTHOR ADMIN role. Allow AUTHOR role to preview lessons. Allow MONITOR role to edit activities and run Live Edit.

    • -0
    • +12
    ./lamsfoundation/lams/dbupdates/patch02040032.sql
  1. … 68 more files in changeset.
LDEV-2846: Remove obsolete filters.

  1. … 1 more file in changeset.
LDEV-2846: Remove obsolete filters.

  1. … 2 more files in changeset.
LDEV-3275: Introduce SSO using Undertow mechanisms.

Valves do not exist in Undertow. Another approach had to be used.

In each WAR there is a file in META-INF/service dir which adds a class in request processing chaing.

For Central it is SsoProducer which put the authenticated account into shared session.

All other modules use SsoConsumer which takes the account and puts it into its security context.

In standalone.xml caching of credentials was switched off as it would prevent UniversalLoginModule from putting UserDTO into shared session.

TODO: use a simple pass-all authentication mechanism for static files like images and JS files.

    • -0
    • +1
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +97
    ./lamsfoundation/lams/integration/security/SsoConsumer.java
    • -0
    • +80
    ./lamsfoundation/lams/integration/security/SsoProducer.java
  1. … 9 more files in changeset.
LDEV-2463 Added new method "learnerStrictAuth" available to LoginRequest. It works the same way as "learner" but requires hash to also contain lesson id parameter.

  1. … 2 more files in changeset.
LDEV-3309 Add isUpdateUserDetails parameter for LoginRequest so user details get updated

  1. … 4 more files in changeset.