Package at.jku.dke.etutor.task_app.auth
Class AuthConstants
java.lang.Object
at.jku.dke.etutor.task_app.auth.AuthConstants
Specifies some authentication/authorization constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the API KEY requirement in the OpenAPI docs.static final String
The header name of the authentication token.static final String
Clients withCRUD
permission are allowed to manage tasks and task groups.static final String
The CRUD authority.static final String
Clients withREAD_SUBMISSION
permission are allowed to read submissions.static final String
The READ_SUBMISSION authority.static final String
Clients withSUBMIT
authority are allowed to submit solutions.static final String
The SUBMIT authority. -
Method Summary
-
Field Details
-
API_KEY_REQUIREMENT
The name of the API KEY requirement in the OpenAPI docs.- See Also:
-
AUTH_TOKEN_HEADER_NAME
The header name of the authentication token.- See Also:
-
CRUD
Clients withCRUD
permission are allowed to manage tasks and task groups.- See Also:
-
SUBMIT
Clients withSUBMIT
authority are allowed to submit solutions.- See Also:
-
READ_SUBMISSION
Clients withREAD_SUBMISSION
permission are allowed to read submissions.- See Also:
-
CRUD_AUTHORITY
The CRUD authority.- See Also:
-
SUBMIT_AUTHORITY
The SUBMIT authority.- See Also:
-
READ_SUBMISSION_AUTHORITY
The READ_SUBMISSION authority.- See Also:
-