diff --git a/examples/admin-client/src/main/webapp/index.jsp b/examples/admin-client/src/main/webapp/index.jsp index 980f1962ec..47b52c15e1 100644 --- a/examples/admin-client/src/main/webapp/index.jsp +++ b/examples/admin-client/src/main/webapp/index.jsp @@ -1,6 +1,6 @@ <%@ page import="org.keycloak.admin.client.Keycloak" %> <%@ page import="org.keycloak.admin.client.resource.ClientsResource" %> -<%@ page import="org.keycloak.representations.idm.ApplicationRepresentation" %> +<%@ page import="org.keycloak.representations.idm.ClientRepresentation" %> <%@ page import="org.keycloak.util.UriUtils" %> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %> <%@ page session="false" %> @@ -13,16 +13,16 @@ String authServer = UriUtils.getOrigin(request.getRequestURL().toString()) + "/auth"; Keycloak keycloak = Keycloak.getInstance(authServer, "example", "examples-admin-client", "password", "examples-admin-client", "password"); - ClientsResource applications = keycloak.realm("example").applications(); + ClientsResource clients = keycloak.realm("example").clients(); out.println("