Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-772

SharedStateLoginModule does swallow an exception during login phase

    Details

    • Estimated Difficulty:
      Low

      Description

      ===================================================================
      — exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java (revision 2494)
      +++ exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java (working copy)
      @@ -77,7 +77,9 @@
      }
      catch (final Throwable e)

      { - throw new LoginException(e.getMessage()); + LoginException le = new LoginException(e.getMessage()); + le.initCause(e); + throw le; }

      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dkatayev Dmytro Katayev
                Reporter:
                julien_viet Julien Viet
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified