Uploaded image for project: 'CAS Server'
  1. CAS-1333

always throw FailedLoginException in cas-server-support-ldap

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0 RC2, 4.0
    • Component/s: LDAP
    • Labels:

      Description

      in class org.jasig.cas.authentication.LdapAuthenticationHandler

      Line 155:

      if (response.getResult())

      { doPostAuthentication(response); }

      throw new FailedLoginException("LDAP authentication failed.");

      problem:
      miss return before doPostAuthentication(response);
      then always throw FailedLoginException

      bugfix:

      if (response.getResult())

      { return doPostAuthentication(response); }

      throw new FailedLoginException("LDAP authentication failed.");

        Attachments

          Activity

            People

            • Assignee:
              serac Marvin Addison
              Reporter:
              hunthu2000 hu hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified