Package gluu.scim2.client
Class TestModeScimClient<T>
- java.lang.Object
-
- gluu.scim2.client.AbstractScimClient<T>
-
- gluu.scim2.client.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 Summary
Constructors Constructor Description TestModeScimClient(Class<T> serviceClass, String serviceUrl, String OIDCMetadataUrl)
Constructs a TestModeScimClient object with the specified parameters and service contractTestModeScimClient(Class<T> serviceClass, String serviceUrl, String OIDCMetadataUrl, String id, String secret)
-
-
-
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 serviceserviceUrl
- The root URL of the SCIM service. Usually in the formhttps://your.gluu-server.com/identity/restv1
OIDCMetadataUrl
- URL of authorization servers' metadata document. Usually in the formhttps://your.gluu-server.com/.well-known/openid-configuration
- Throws:
Exception
- If there was a problem contacting the authorization server to initialize this object
-
-