Class RegistrationService

java.lang.Object
org.wso2.charon.impl.resources.RegistrationService

public class RegistrationService extends Object
Additional/Helper REST API to register SCIM consumers as tenants. In a cloud environment, there will be multiple tenants. In a stand alone impl, there will be only one tenant.
  • Constructor Details

    • RegistrationService

      public RegistrationService()
  • Method Details

    • registerTenant

      public javax.ws.rs.core.Response registerTenant(@HeaderParam("tenantAdminUserName") String adminUserName, @HeaderParam("tenantAdminPassword") String adminPassword, @HeaderParam("tenantDomain") String tenantDomain, @HeaderParam("authMechanism") String authMechanism)
      Register at SCIM SP and obtain authentication token in the response, according to the relevant authentication mechanism that is requested. i.e: if basic auth is used, no need to return, if oauth is used, return oauth bearer token.
      Parameters:
      adminUserName -
      adminPassword -
      tenantDomain -
      authMechanism -
      Returns: