Answers for "how to disable security in jhipster"

0

how to disable security in jhipster

To disable Authentication :

- replace .antMatchers("/api/**").authenticated() with .antMatchers("/**").permitAll() in SecurityConfiguration.java
- Remove from all *.html, all directives of *jhiHasAnyAuthority in all *.html files
- Remove from all *.html, all directives of [ngSwitch]="isAuthenticated() and all it's *ngSwitchCase
- return true in all checkLogin( methods in all *service.ts files
- see the doc about authorizations.
- i wish it was easier...
Posted by: Guest on March-11-2021

Code answers related to "how to disable security in jhipster"

Browse Popular Code Answers by Language