Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-326

Initialize the cause of a login exception in the repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9
    • 1.0
    • security
    • None

    Description

      ===================================================================
      — RepositoryImpl.java8(revision 379871)
      +++ RepositoryImpl.java (working copy)
      @@ -1056,7 +1056,9 @@
      }
      authCtx.login();
      } catch (javax.security.auth.login.LoginException le)

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

      // create session

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            ashleym1972 Ashley M
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: