authelia/internal/handlers
James Elliott 4dce8f9496
perf(authorizer): preload access control lists (#1640)
* adjust session refresh to always occur (for disabled users)

* feat: adds filtering option for Request Method in ACL's

* simplify flow of internal/authorization/authorizer.go's methods

* implement query string checking

* utilize authorizer.Object fully

* make matchers uniform

* add tests

* add missing request methods

* add frontend enhancements to handle request method

* add request method to 1FA Handler Suite

* add internal ACL representations (preparsing)

* expand on access_control next

* add docs

* remove unnecessary slice for network names and instead just use a plain string

* add warning for ineffectual bypass policy (due to subjects)

* add user/group wildcard support

* fix(authorization): allow subject rules to match anonymous users

* feat(api): add new params

* docs(api): wording adjustments

* test: add request method into testing and proxy docs

* test: add several checks and refactor schema validation for ACL

* test: add integration test for methods acl

* refactor: apply suggestions from code review

* docs(authorization): update description
2021-03-05 15:18:31 +11:00
..
const.go feat(handlers): authorization header switch via query param to /api/verify (#1563) 2021-02-24 10:35:04 +11:00
errors.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_configuration.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_configuration_test.go [MISC] Template global config and refactor some /api endpoints (#1135) 2020-06-21 15:40:37 +02:00
handler_firstfactor.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
handler_firstfactor_test.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
handler_health.go [FEATURE] Create dedicated health endpoint (#1489) 2020-11-25 10:20:52 +11:00
handler_logout.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_logout_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_totp.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_u2f_step1.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_u2f_step1_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_register_u2f_step2.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_reset_password_step1.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_reset_password_step2.go [MISC] Catch OpenLDAP ppolicy error (#1508) 2020-12-16 12:30:03 +11:00
handler_sign_duo.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_duo_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_totp.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_totp_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_u2f_step1.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_u2f_step1_test.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_sign_u2f_step2.go [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
handler_sign_u2f_step2_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_state.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_state_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_verify.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
handler_verify_test.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
response.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
totp.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
totp_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
types.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
u2f.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
u2f_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00