Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1067

LDAP Connector: Enhance connection exception messages

    Details

      Description

      A subset of AD connection errors return exceptions with either not human-friendly or vague error messages. The following should be enhanced to return something more UI user friendly (current exception messages are provided as well):

      • Blank bind DN/password - javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C090728, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]; remaining name
      • Unknown host - javax.naming.CommunicationException: 192.168.99.101111:389 [Root exception is java.net.UnknownHostException: 192.168.99.101111
      • Connection refused - javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused (Connection refused)]
      • Connection reset - javax.naming.CommunicationException: 192.168.99.100:636 [Root exception is java.net.SocketException: Connection reset]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ben.apple Ben Apple
                Reporter:
                ben.apple Ben Apple
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: