Spring Security
  1. Spring Security
  2. SEC-1179

Improved error handling for Active Directory authentication

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.4
    • Fix Version/s: 3.1.0.RC2
    • Component/s: LDAP
    • Labels:
      None
    • Environment:
      ActiveDirectory

      Description

      Thought this would be useful for some people. Attached is a subclass of BindAuthenticator for ActiveDirectory that overrides handleBindException() to throw the correct exceptions based on the AD subcodes. Handles disabled account, locked acocunt, expired account, and expired credentials.

        Issue Links

          Activity

          Hide
          Luke Taylor added a comment -

          Error code resolution was implemented as part of SEC-1181.

          Show
          Luke Taylor added a comment - Error code resolution was implemented as part of SEC-1181 .

            People

            • Assignee:
              Luke Taylor
              Reporter:
              Steven Bazyl
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: