Yan Yao
18d20364a8
Extension of Redis Session Store to Support Redis Cluster ( #363 )
...
* Extend the redis session store to support redis cluster
* rename function newRedisClient to newRedisCmdable
* update docs about redis cluster as session store
* update autocomplete script with redis cluster options
* add check about conflict between option redis-use-sentinel and redis-use-cluster
* update change log
* Update docs/configuration/sessions.md
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
* Update pkg/sessions/redis/redis_store.go
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
* add the dropped option back
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
2020-02-06 17:59:12 +00:00
Lukasz Leszczuk
befab0521a
log message in case of failure during loading system cert pool
2019-11-12 11:42:49 +01:00
Lukasz Leszczuk
3c10aee62c
Code formatting. Add missing CHANGELOG entry.
2019-11-09 13:57:40 +01:00
Lukasz Leszczuk
3f7ed36e46
Add support for Redis with custom CA.
2019-11-08 10:47:18 +01:00
Joel Speed
d1ef14becc
Move cookie to pkg/encryption
2019-06-15 11:33:57 +02:00
Joel Speed
4721da02f2
Ensure SessionStores can handle recieving cookies for the wrong implementation
...
(cherry picked from commit 131206cf41697543583751ac2714287898c19ad0)
2019-06-05 00:11:42 -07:00
Joel Speed
c1ae0ca807
Make sure the cookie exists before we clear the session in redis
...
(cherry picked from commit 6d7f0ab57d554706425f76aed4df60717dd63ece)
2019-06-05 00:11:42 -07:00
Joel Speed
22199fa417
Fix ticket retrieval with an invalid ticket
...
(cherry picked from commit 66bbf146ec45d127bdd374120743aeef936894a7)
2019-06-05 00:11:42 -07:00
Joel Speed
3155ada287
Ensure sessions are refreshable in redis session store
...
(cherry picked from commit 48edce3003d187a3eadc4ea96236845271dd9360)
2019-06-05 00:11:42 -07:00
Joel Speed
2e2327af6c
Check SaveSession works when an existing session is present
...
(cherry picked from commit 9dc1a96d817741632cb476456755a645b732db7d)
2019-06-05 00:11:42 -07:00
Joel Speed
518c1d3e8e
Add Redis sentinel compatibility
...
(cherry picked from commit ff36b61f8cee4ecf0b91a90b5e1b651b526bb6b6)
2019-06-05 00:11:42 -07:00
Joel Speed
93df7d9132
Remove spurious comment
2019-06-05 00:10:51 -07:00
Joel Speed
a6b8f7bde2
Rename expire -> expiration
2019-06-05 00:10:51 -07:00
Joel Speed
2f61e42c37
More obvious comment on CFB
2019-06-05 00:10:51 -07:00
Joel Speed
f435fa68ab
Make loadSessionFromString private
2019-06-05 00:10:51 -07:00
Joel Speed
b255ed56ef
Sign cookies in the Redis Session store
2019-06-05 00:10:51 -07:00
Joel Speed
2c566a5f5b
Use session CreatedAt for cookie timings
2019-06-05 00:10:51 -07:00
Joel Speed
296d989e58
Simplify redis store options
2019-06-05 00:10:51 -07:00
Brian Van Klaveren
42731f0617
Check cookie error and doc on cookie handling
2019-06-05 00:10:51 -07:00
Brian Van Klaveren
b1bd3280db
Add support for a redis session store
2019-06-05 00:10:51 -07:00