Skip to content

Instantly share code, notes, and snippets.

@schatterjee4
schatterjee4 / README.md
Created February 24, 2019 10:09 — forked from andineck/README.md
Authentication and Authorization Concepts for MicroServices

auth with microservices

Authorization and Authentication are hard. when you only have to implement them once (as you do within a monolith) instead of over and over again, it makes the developer happy :-), and maybe leads to less implementation failures.

When you have a bunch of microservices, this is something that has to be considered.

Implement it once or in every microservice, or something in between?

@Configuration
public class CamundaEngineHistoryConfiguration extends AbstractCamundaConfiguration implements CamundaHistoryLevelAutoHandlingConfiguration {
@Override
public void preInit(SpringProcessEngineConfiguration configuration) {
configuration.setHistory(ProcessEngineConfiguration.HISTORY_FULL);
}
}