Implement RemoteDirectory updatePrincipal(RemotePrincipal) method for LDAP servers using InetOrgPerson as the Principal object.

XMLWordPrintable

      Currently the updatePrincipal method for the SpringLDAPConnector is not implemented:

      /**
           * This method is currently not supported by the Crowd LDAP connectors.
           *
           * @see com.atlassian.crowd.integration.directory.RemoteDirectory#updatePrincipal(com.atlassian.crowd.integration.model.RemotePrincipal)
           * @param principal The principal to update.
           * @return The populated principal.
           * @throws RemoteException         An unknown remote exception occured.
           * @throws ObjectNotFoundException The role does not exist.
           */
          public RemotePrincipal updatePrincipal(RemotePrincipal principal) throws RemoteException, ObjectNotFoundException
          {
              return findPrincipalByName(principal.getName());
          }
      

      This method needs to be improved to support modifying the known attribute types of the inetOrgPerson object that match the RemotePrincipal attributes.

      The addPrincipal method will also need to be modified to support setting these attributes.

              Assignee:
              Justin Koke
              Reporter:
              Justen Stepka [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

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