open-vault/logical/framework
Calvin Leung Huang 79cb82e133
Add logic for using Auth.Period when handling auth login/renew requests (#3677)
* Add logic for using Auth.Period when handling auth login/renew requests

* Set auth.TTL if not set in handleLoginRequest

* Always set auth.TTL = te.TTL on handleLoginRequest, check TTL and period against sys values on RenewToken

* Get sysView from le.Path, revert tests

* Add back auth.Policies

* Fix TokenStore tests, add resp warning when capping values

* Use switch for ttl/period check on RenewToken

* Move comments around
2017-12-15 13:30:05 -05:00
..
backend.go Add TypeKVPairs field type (#3535) 2017-11-07 11:11:49 -05:00
backend_test.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
field_data.go Add TypeKVPairs field type (#3535) 2017-11-07 11:11:49 -05:00
field_data_test.go Add TypeKVPairs field type (#3535) 2017-11-07 11:11:49 -05:00
field_type.go Add TypeKVPairs field type (#3535) 2017-11-07 11:11:49 -05:00
lease.go Add logic for using Auth.Period when handling auth login/renew requests (#3677) 2017-12-15 13:30:05 -05:00
lease_test.go
path.go
path_map.go
path_map_test.go
path_struct.go
path_struct_test.go
policy_map.go
policy_map_test.go
secret.go
secret_test.go
template.go
testing.go
wal.go
wal_test.go