UniversalLoginModule.java

  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4030 :Disable login for a few minutes after X number of attempts

  1. … 5 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 1074 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

    • -311
    • +291
    ./UniversalLoginModule.java
  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-3674: Remove multiple Flash elements: Authoring, icons, themes, i18n files, WDDX libraries and classes, methods, servlets etc.

Rename/rewrite methods for Flashless use.

  1. … 420 more files in changeset.
LDEV-3578: Use single-use passwords for internal authentication in LoginRequestServlet and LoginAsAction.

  1. … 3 more files in changeset.
LDEV-3578: Convert passwords from sha1 to sha256 with salt after successful authentication and on password change.

Remove password hashing in browser.

Change internal authentication mechanism for LoginRequestServlet and LoginAsAction.

  1. … 23 more files in changeset.
LDEV-3591: Flatten UniversalLoginModule hierarchy - it was just a single leaf anyway.

Format code. Clean up logs, errors and comments.

Move queries from config files to code.

    • -206
    • +334
    ./UniversalLoginModule.java
  1. … 12 more files in changeset.
LDEV-3383: Remove Web authentication method.

  1. … 5 more files in changeset.
LDEV-3383: Remove Web authentication method.

  1. … 5 more files in changeset.
LDEV-3335, LDEV-3340: Make SessionManager a storage for servlet context, so it can be accesses by other classes at any time. Remove obsolete SSO classes.

  1. … 15 more files in changeset.
LDEV-3335, LDEV-3340: Remove or simplify SSO components. Fix sysadmin LoginAs functionality.

  1. … 17 more files in changeset.
LDEV-3335, LDEV-3334: Use SSO mechanism introduced in WildFly 9.

Do not create web.xml files with XDoclet as it can not produce them based on 3.1 schema. Use static ones instead.

Make SessionManager just a proxy to webserver's HTTP session. Remov custom shared sessions and JSESSIONIDSSO cookie as they are obsolete. Remove own session monitoring as the container should take care of invalidation.

Move injecting UserDTO into session to SsoHandler intead of UniversalLoginModule as an authentication request may not reach the latter due to WildFly credentials caching.

    • -311
    • +285
    ./UniversalLoginModule.java
  1. … 226 more files in changeset.
LDEV-3275: Remove duplicate error log.

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-3315: Clean up roles and paths to secured resources in all modules.

Remove AUTHOR ADMIN role.

    • -290
    • +310
    ./UniversalLoginModule.java
  1. … 73 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.

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

    • -311
    • +290
    ./UniversalLoginModule.java
  1. … 12 more files in changeset.
LDEV-2517 Merging head theme changes with 2.3 branch for 2.3.4

    • -236
    • +294
    ./UniversalLoginModule.java
  1. … 64 more files in changeset.
SIF-4 Making single-signon capabilities for openid

    • -282
    • +313
    ./UniversalLoginModule.java
  1. … 31 more files in changeset.
LDEV-2420 Removing uneccessary data structures and tables from the db, as well as implementing the same theme settings for flash themes

  1. … 49 more files in changeset.
LDEV-2420 Adding functionality to add new themes to the database. All that is left now is to remove the defunct tables that are not used

  1. … 21 more files in changeset.
use Sun 120 formatting standard

    • -228
    • +241
    ./UniversalLoginModule.java
LDEV-1937 try another method of getting spring bean when NoSuchBeanDefinitionException encountered

Get the ldapService bean only when ldap provisioning is enabled - so if spring can't find the bean (throws NoSuchBeanDefinitionException for unknown reason), logging in will still work if ldap provisioning is disabled.

merge latest changes from ldap2_0_4 branch (dated 26/10/07)

  1. … 4 more files in changeset.
fix for ConcurrentModificationException while Iterating over a Set; stop printing password in logs; make reading of roles mapping values more flexible

  1. … 4 more files in changeset.
merging changes from ldap2_0_4 branch to HEAD

  1. … 13 more files in changeset.
fix problem with integration users getting rejected when LDAPEncryptPasswordFromBrowser is false; generate random password for ldap users instead of hard coded text

  1. … 1 more file in changeset.
merge changes from ldap2_0_4 branch back to HEAD

  1. … 1 more file in changeset.