• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Improve security in several places.

  1. … 16 more files in changeset.
LDEV-3315: No need for own SecurityException as JRE already has got one.

  1. … 3 more files in changeset.
LDEV-3315: No need for own SecurityException as JRE already has got one.

  1. … 4 more files in changeset.
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Replace Monitoring and Gradebook own security code with SecurityService checks.

  1. … 11 more files in changeset.
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Replace Monitoring and Gradebook own security code with SecurityService checks.

  1. … 13 more files in changeset.
LDEV-3320: Switch TransactionManager used by LAMS to JTA. Update hibernate.properties to use JTA platform as transactions provier. Update hibernate.properties to use TransactionAwareSessionContext .

In order for Infinispan and Hibernate to correctly cooperate within transactions - it is recommended to use TransactionManager that supports JTATransactions (LAMS was using JDBCTransaction type). http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_jta_transactions_configuration

LDEV-3364: add TransactionAwareSessionContext implementation to fix 'No Session Found for current thread' issue.

This is not yet bound to hibernate.properties

file TransactionAwareSessionContext.java was initially added on branch lams2_head_wildfly.

LDEV-3366: Fix Learning Library IDs which were not set correctly when importing a Learning Design.

file patch02040033.sql was added on branch lams2_head_wildfly on 2014-10-24 10:58:46 +0000

LDEV-3366: Fix Learning Library IDs which were not set correctly when importing a Learning Design.

LDEV-3359: Fix LearningLibraryID when importing a Tool activity.

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

    • -1
    • +13
    ./java/org/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.

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.

LDEV-3349: Fix processing bug so the LD can get to validator.

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

  1. … 9 more files in changeset.
LDEV-3349: Fix processing bug so the LD can get to validator.

file ISecurityDAO.java was added on branch lams2_head_wildfly on 2014-10-21 10:27:45 +0000

file SecurityService.java was added on branch lams2_head_wildfly on 2014-10-21 10:27:45 +0000

file SecurityDAO.java was added on branch lams2_head_wildfly on 2014-10-21 10:27:45 +0000

file ISecurityService.java was added on branch lams2_head_wildfly on 2014-10-21 10:27:45 +0000

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. … 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. … 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.