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

io.camunda.common.auth.JwtConfig Maven / Gradle / Ivy

There is a newer version: 8.5.10
Show newest version
package io.camunda.common.auth;

import java.util.HashMap;
import java.util.Map;

/** Contains mapping between products and their JWT credentials */
public class JwtConfig {

  private Map map;

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

  public void addProduct(Product product, JwtCredential jwtCredential) {
    map.put(product, jwtCredential);
  }

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

  public Map getMap() {
    return map;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy