Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3610
|
Version |
tigase-server-8.0.0
|
Estimation |
10h
|
Spent time |
73h 30m
|
Issue Votes (0)
Watchers (0)
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3610
|
Version |
tigase-server-8.0.0
|
Estimation |
10h
|
Spent time |
73h 30m
|
We need to refactor SSLContextContainer and classes using it as some components (ie. S2S, C2S, WS2S) needs to have different configuration/instances of SSLContext for same domain.
Currently there is implementation inside SSLContextContainer which keeps all this cached instances and ensures they are separated but this is complicated already and it will be better to refactor SSLContextContainer and it's usage to make it simpler and better.
During refactoring I think we need to forget about singleton instance of SSLContextContainer and split it so we will get:
one singleton instance keeping server certificates for each hosted domains
many SSLContext caching instances inside each component which requires to retrieve SSLContext