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

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

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

import io.camunda.common.auth.identity.IdentityConfig;

public class SelfManagedAuthenticationBuilder
    extends JwtAuthenticationBuilder {
  private IdentityConfig identityConfig;

  public SelfManagedAuthenticationBuilder withIdentityConfig(IdentityConfig identityConfig) {
    this.identityConfig = identityConfig;
    return this;
  }

  @Override
  protected SelfManagedAuthenticationBuilder self() {
    return this;
  }

  @Override
  protected Authentication build(JwtConfig jwtConfig) {
    return new SelfManagedAuthentication(jwtConfig, identityConfig);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy