org.camunda.bpm.extension.keycloak.KeycloakTenantQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camunda-bpm-identity-keycloak Show documentation
Show all versions of camunda-bpm-identity-keycloak Show documentation
A Camunda Identity Provider Plugin for Keycloak
package org.camunda.bpm.extension.keycloak;
import java.util.Collections;
import java.util.List;
import org.camunda.bpm.engine.identity.Tenant;
import org.camunda.bpm.engine.impl.Page;
import org.camunda.bpm.engine.impl.TenantQueryImpl;
import org.camunda.bpm.engine.impl.interceptor.CommandContext;
import org.camunda.bpm.engine.impl.interceptor.CommandExecutor;
/**
* Since multi-tenancy is currently not yet supported for the Keycloak plugin, the query always
* returns 0
or an empty list.
*/
public class KeycloakTenantQuery extends TenantQueryImpl {
private static final long serialVersionUID = 1L;
public KeycloakTenantQuery() {
super();
}
public KeycloakTenantQuery(CommandExecutor commandExecutor) {
super(commandExecutor);
}
@Override
public long executeCount(CommandContext commandContext) {
return 0;
}
@Override
public List executeList(CommandContext commandContext, Page page) {
return Collections.emptyList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy