Class JsonConfigConverter
- java.lang.Object
-
- org.keycloak.subsystem.server.extension.JsonConfigConverter
-
public class JsonConfigConverter extends Object
Converts json representation of Keycloak config to DMR operations.- Author:
- Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc.
-
-
Constructor Summary
Constructors Constructor Description JsonConfigConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<org.jboss.dmr.ModelNode>convertJsonConfig(String json, org.jboss.as.controller.PathAddress subsysAddress)Convert keycloak-server.json to DMR operations that write to standalone.xml or domain.xml.
-
-
-
Method Detail
-
convertJsonConfig
public static List<org.jboss.dmr.ModelNode> convertJsonConfig(String json, org.jboss.as.controller.PathAddress subsysAddress) throws IOException
Convert keycloak-server.json to DMR operations that write to standalone.xml or domain.xml.- Parameters:
json- The json representation of the config.subsysAddress- The management model address of the keycloak-server subsystem.- Returns:
- A list of DMR operations.
- Throws:
IOException- If the json can not be parsed.
-
-