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

User Add entry already exists exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: