[KEYCLOAK-7763] - NPE when enabling authorization to security-admin-console

This commit is contained in:
Pedro Igor committed 2018-07-03 13:18:53 -03:00
1 parent d55ccf5312
commit dafd567e68
1 file changed
+1 -1
@@ -177,7 +177,7 @@ public class AdminConsole {
if (consoleApp == null) {
throw new NotFoundException("Could not find admin console client");
}
return new ClientManager().toInstallationRepresentation(realm, consoleApp, keycloak.getBaseUri(uriInfo));
return new ClientManager(new RealmManager(session)).toInstallationRepresentation(realm, consoleApp, keycloak.getBaseUri(uriInfo));
}