Package at.jku.dke.etutor.task_app.auth


package at.jku.dke.etutor.task_app.auth
This package contains all authentication-related classes.

In order to define clients, specify them in the application properties in following format:

 clients:
   api-keys:
     - name: task-administration
       key: my-secret-administration-key
       roles:
          - CRUD
          - SUBMIT
     - name: plag-check
       key: my-secret-plag-check-key
       role: READ_SUBMISSION
     - ...
 
You can find the supported roles in AuthConstants.