Hi,
In OX documentation there is page: http://www.gluu.org/docs/admin-guide/user-management/#scim-oxauth-authentication/
It contains next example:
`
package gluu.scim.client.dev.local;
import gluu.scim.client.ScimClient;
import gluu.scim.client.ScimResponse;
import javax.ws.rs.core.MediaType;
public class TestScimClient {
public static void main(String[] args) {
final ScimClient scimClient = ScimClient.oAuthInstance("admin", "secret", "@!9BCF.396B.14EB.1974!0001!CA0D.1918!0008!2F06.F0DF", "secret",
"https://centos65.gluu.info/identity/seam/resource/restv1", "https://centos65.gluu.info/oxauth/seam/resource/restv1/oxauth/token");
try {
ScimResponse response1 = scimClient.retrievePerson("@!9BCF.396B.14EB.1974!0001!CA0D.1918!0000!A8F2.DE1E.D7FB", MediaType.APPLICATION_JSON);
System.out.println(response1.getResponseBodyString());
} catch (Exception ex) {
ex.printStackTrace();
}
}
}
`
Can you try to run this sample code. Please, update parameters to conform your VM.