protected String createSamlClient(String name) { ClientRepresentation clientRep = new ClientRepresentation(); clientRep.setClientId(name); clientRep.setName(name); clientRep.setProtocol("saml"); clientRep.setAdminUrl("samlEndpoint"); return createClient(clientRep); }
protected String createOidcClient(String name) { ClientRepresentation clientRep = new ClientRepresentation(); clientRep.setClientId(name); clientRep.setName(name); clientRep.setRootUrl("foo"); clientRep.setProtocol("openid-connect"); return createClient(clientRep); }