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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionTestModeScimClient
(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) -
Method Summary
Methods inherited from class gluu.scim2.client.AbstractScimClient
close, invoke, setCustomHeaders
-
Constructor Details
-
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
-
TestModeScimClient
public TestModeScimClient(Class<T> serviceClass, String serviceUrl, String OIDCMetadataUrl, String id, String secret) throws Exception - Throws:
Exception
-