All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.camunda.common.auth.identity.IdentityConfig Maven / Gradle / Ivy

The newest version!
package io.camunda.common.auth.identity;

import io.camunda.common.auth.Product;
import java.util.HashMap;
import java.util.Map;

/** Contains mapping between products and their Identity and IdentityConfiguration */
public class IdentityConfig {

  private final Map map;

  public IdentityConfig() {
    map = new HashMap<>();
  }

  public void addProduct(Product product, IdentityContainer identityContainer) {
    map.put(product, identityContainer);
  }

  public IdentityContainer get(Product product) {
    return map.get(product);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy