问题
I have created my j hipster application called Bookstore.After running my application it will go authentication . i need not this authentication .if there is any way to open my application without j hipster log in page?
回答1:
In the path "app/config" there is the class MicroserviceSecurityConfiguration.class Change the permissions there, in the case
("/api/**").Authenticated()
for
("/api/**").permitAll()
回答2:
Assuming you want to build an application that keeps JHipster admin features:
- Remove
*jhiHasAnyAuthorities
directives on HTML elements you want to make public - Same thing for *ngSwitch directives dealing with isAuthenticated(), see the doc about authorizations.
来源:https://stackoverflow.com/questions/42393231/how-to-open-my-application-j-hipster-without-authentication