open-vault/http
Jeff Mitchell 77e7379ab5 Implement the cubbyhole backend
In order to implement this efficiently, I have introduced the concept of
"singleton" backends -- currently, 'sys' and 'cubbyhole'. There isn't
much reason to allow sys to be mounted at multiple places, and there
isn't much reason you'd need multiple per-token storage areas. By
restricting it to just one, I can store that particular mount instead of
iterating through them in order to call the appropriate revoke function.

Additionally, because revocation on the backend needs to be triggered by
the token store, the token store's salt is kept in the router and
client tokens going to the cubbyhole backend are double-salted by the
router. This allows the token store to drive when revocation happens
using its salted tokens.
2015-09-15 13:50:37 -04:00
..
handler.go Implement the cubbyhole backend 2015-09-15 13:50:37 -04:00
handler_test.go Implement the cubbyhole backend 2015-09-15 13:50:37 -04:00
help.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
help_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
http_test.go If JSON decoding fails, make it clear that the problem is failing to 2015-08-26 07:03:33 -07:00
logical.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
logical_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
server.go
sys_audit.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_audit_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_auth_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_health.go http: support ?standbyok for 200 status on standby. Fixes #389 2015-07-02 17:49:35 -07:00
sys_health_test.go
sys_init.go Address comments from review. 2015-08-25 15:33:58 -07:00
sys_init_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_leader.go
sys_leader_test.go
sys_lease_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_mount_test.go Implement the cubbyhole backend 2015-09-15 13:50:37 -04:00
sys_policy.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_policy_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_rekey.go Address comments from review. 2015-08-25 15:33:58 -07:00
sys_rekey_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_rotate_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_seal.go Allow POST as well as PUT for seal/unseal command, fits in more with how logical handles things 2015-09-10 15:09:53 -04:00
sys_seal_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
testing.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00