Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-215

User Add entry already exists exception

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Labels:
      None

      Description

      On user add distinguish between LDAP exception and user already present"

      User create( User entity ) throws CreateException
      {
      ...
      catch ( LdapEntryAlreadyExistsException e )

      { String error = "create userId [" + entity.getUserId() + "] failed, already exists in directory"; ... }

      catch ( LdapException e )

      { String error = "create userId [" + entity.getUserId() + "] caught LDAPException=" + e.getMessage(); .... }

        Attachments

          Activity

            People

            • Assignee:
              smckinney Shawn McKinney
              Reporter:
              smckinney Shawn McKinney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: