fabioformosa / quartz-manager

REST API and UI Console Manager for Quartz Scheduler. This is a Java Library & UI embeddable single page app, to control and monitor jobs scheduled with Quartz Scheduler
Apache License 2.0
240 stars 87 forks source link

As anonymous user, I can use the UI if the backend has not an authentication config #25

Closed fabioformosa closed 3 years ago

fabioformosa commented 3 years ago

The UI calls the API method /whoami to retrieve the jwt token, at the angular startup. If the jwt is not retrieved for whatever reason, then the user is redirected to the login page.

fabioformosa commented 3 years ago

Since the last commit, it's possible for anonymous users to use the UI disabling the security layer. But the project that imports quartz-manager must expose a whoami controller like explained in quartz-manager-demo. I leave this issue opened: I would like to avoid that whoami controller. It's needed an enhancement.