📜  如何在 jhipster 中禁用安全性 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:22.828000             🧑  作者: Mango

代码示例1
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...