1

I want to have no authenticationType, in final microservice, how do I achieve in JDL ?

How to define such that there will no authentication ?

application {
  config {
    baseName AweseomApp,
    applicationType microservice,
    packageName com.example,
    authenticationType jwt,
    prodDatabaseType postgresql
  }
  entities *
  service * with serviceClass
}

entity Cars {
   name String 
}
ajayramesh
  • 3,576
  • 8
  • 50
  • 75

1 Answers1

1

It's not possible with JDL or questions.

You must modify generated code manually in SecurityConfiguration class of microservice and gateway.

See this question for an example.

Or you could submit a feature request similar to the "no database" option and propose to contribute it.

Gaël Marziou
  • 16,028
  • 4
  • 38
  • 49