Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1151

Improve the SecurityServerClient API, possibly the SOAP API also

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      The SecurityServerClient API could use some improvements:

      Have a complete, symmetrical API across all the SOAPEntity types (Principal, Group, Role). This should include at least the following (examples for Principal only):
      addPrincipal(SOAPPrincipal)
      removePrincipal(SOAPPrincipal)
      updatePrincipal(SOAPPrincipal)

      Have the SecurityServerClient use Lists rather than Arrays when returning collections of SOAPEntities. Even if this is only outward-facing and handled as Arrays internally, that is fine. Failing that, a Util class would be nice for wrestling with arrays. See this thread for details.

            [CWD-1151] Improve the SecurityServerClient API, possibly the SOAP API also

            The new Crowd REST API is cleaner, more comprehensive, and will replace the SOAP API for new development.

            David O'Flynn [Atlassian] added a comment - The new Crowd REST API is cleaner, more comprehensive, and will replace the SOAP API for new development.

            Further, because of backwards compatibility, it may be beneficial to create a new outward-facing Client API that talks to the SOAP API internally. This API could be tailored specifically for developer use.

            class CrowdClient, containing everything in SSC and more, as described above.

            class CrowdUser (to reflect the terminology switch from Principal to User)
            class CrowdGroup
            class CrowdRole

            abstract class CrowdEntity

            class CrowdDirectory (potentially for lower-level Crowd operations from the client someday)

            Just as an aside, to a new developer (such as others in my organization), the terminology of the Client API is confusing; they don't know what a SecurityServerClient or a SOAPPrincipal is. A more name-friendly API could be beneficial.

            Graham Bakay added a comment - Further, because of backwards compatibility, it may be beneficial to create a new outward-facing Client API that talks to the SOAP API internally. This API could be tailored specifically for developer use. class CrowdClient, containing everything in SSC and more, as described above. class CrowdUser (to reflect the terminology switch from Principal to User) class CrowdGroup class CrowdRole abstract class CrowdEntity class CrowdDirectory (potentially for lower-level Crowd operations from the client someday) Just as an aside, to a new developer (such as others in my organization), the terminology of the Client API is confusing; they don't know what a SecurityServerClient or a SOAPPrincipal is. A more name-friendly API could be beneficial.

              Unassigned Unassigned
              7da6d7ffe6d1 Graham Bakay
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: