Class AbstractScimClient<T>
- Type Parameters:
 T- The type of the internal RestEasy proxy used by this class. This is the same type thatScimClientFactorymethods return.
- All Implemented Interfaces:
 CloseableClient,Serializable,InvocationHandler
- Direct Known Subclasses:
 OAuthScimClient,TestModeScimClient,UmaScimClient
Upon initialization, this class internally creates a RestEasy proxy client based on parameters passed. This proxy is used to invoke the operations the service offers. The exact methods that can be called are driven by the interface class passed in the constructor.
When a service method is invoked through an instance obtained by any of the factory methods of
 ScimClientFactory, the call is dispatched by the invoke
 method of this class, which properly handles the authorization details in conjunction with the filter
 AuthorizationInjectionFilter.
Concrete subclasses of this class must provide getAuthenticationHeader and
 authorize methods that must implement specific ways to obtain access tokens depending
 on how the SCIM service is being protected.
- See Also:
 
- 
Method Summary
 
- 
Method Details
- 
invoke
This method is the single point of dispatch for any and all the requests made to the service. It takes care of requesting access tokens when necessary and make them available when requests are bound to be issued.As with all methods of this class and its subclasses, invoke is not called directly by developers: the calls are triggered when the objects returned by factory methods of
ScimClientFactoryare manipulated.- Specified by:
 invokein interfaceInvocationHandler- Returns:
 - The response associated to the invocation (normally a jakarta.ws.rs.core.Response instance)
 - Throws:
 Throwable
 - 
close
public void close()- Specified by:
 closein interfaceCloseableClient
 - 
setCustomHeaders
- Specified by:
 setCustomHeadersin interfaceCloseableClient
 
 -