io.camunda.operate.schema.indices.UserIndex Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Camunda License 1.0. You may not use this file
* except in compliance with the Camunda License 1.0.
*/
package io.camunda.operate.schema.indices;
import io.camunda.operate.schema.backup.Prio4Backup;
import org.springframework.stereotype.Component;
@Component
public class UserIndex extends AbstractIndexDescriptor implements Prio4Backup {
public static final String INDEX_NAME = "user";
public static final String ID = "id";
public static final String USER_ID = "userId";
public static final String PASSWORD = "password";
public static final String ROLES = "roles";
public static final String DISPLAY_NAME = "displayName";
@Override
public String getIndexName() {
return INDEX_NAME;
}
@Override
public String getVersion() {
return "1.2.0";
}
}