ajayramesh
ajayramesh

Reputation: 3804

How to disable authenticationType in Jhipster?

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

Answers (1)

Gaël Marziou
Gaël Marziou

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

Related Questions