Class TestModeScimClient<T>

  • Type Parameters:
    T - Type parameter of superclass
    All Implemented Interfaces:
    CloseableClient, Serializable, InvocationHandler

    public class TestModeScimClient<T>
    extends AbstractScimClient<T>
    Instances of this class contain the necessary logic to handle the authorization processes required by a client of SCIM service in test mode. For more information on test mode visit the SCIM 2.0 docs page.

    Note: Do not instantiate this class in your code. To interact with the service, call the corresponding method in class ScimClientFactory that returns a proxy object wrapping this client

    See Also:
    Serialized Form
    • Constructor Detail

      • TestModeScimClient

        public TestModeScimClient​(Class<T> serviceClass,
                                  String serviceUrl,
                                  String OIDCMetadataUrl)
                           throws Exception
        Constructs a TestModeScimClient object with the specified parameters and service contract
        Parameters:
        serviceClass - The service interface the underlying resteasy proxy client will adhere to. This proxy is used internally to execute all requests to the service
        serviceUrl - The root URL of the SCIM service. Usually in the form https://your.gluu-server.com/identity/restv1
        OIDCMetadataUrl - URL of authorization servers' metadata document. Usually in the form https://your.gluu-server.com/.well-known/openid-configuration
        Throws:
        Exception - If there was a problem contacting the authorization server to initialize this object