Reputation: 3804
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
}
Upvotes: 1
Views: 689
Reputation: 16294
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.
Upvotes: 1