Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
1080
|
Version |
tigase-server-7.0.0
|
Estimation |
16h
|
Spent time |
51h
|
Issue Votes (0)
Watchers (0)
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
1080
|
Version |
tigase-server-7.0.0
|
Estimation |
16h
|
Spent time |
51h
|
In a similar way as StartTLS required is implemented through preprocessing API to block communication before TLS is activated, the resource bind and authentication should be implemented the same way.
The code from DefaultPacketHandler should be removed and the conditions should be moved over to plugins responsible for functionality.
Perhaps there should be a common, abstract auth plugin to do the checking and all others should extend it with auth mechanism implementation.