io.camunda.common.auth.SimpleAuthenticationBuilder Maven / Gradle / Ivy
The newest version!
package io.camunda.common.auth;
import io.camunda.common.auth.Authentication.AuthenticationBuilder;
public class SimpleAuthenticationBuilder implements AuthenticationBuilder {
private SimpleConfig simpleConfig;
public SimpleAuthenticationBuilder withSimpleConfig(SimpleConfig simpleConfig) {
this.simpleConfig = simpleConfig;
return this;
}
@Override
public Authentication build() {
return new SimpleAuthentication(simpleConfig);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy