The claims can come from a few different sources:
- The
remote business logic service
- The HTTP request itself (as part of the payload submitted by the client)
- Configuration of Themis
- Time based claims
With the way Themis is assembled today there is a priority ordering as below:
- Time based claims (applied last, not overwritten)
- Configuration based claims
- HTTP request based claims
- Claims from the
remote business logic service
Since the remote business logic service is given the HTTP request claims, it should be allowed to adjust/overwrite claims since it (in theory) will know better that the requesting agent.
I'll propose we change the processing order to be as follows:
- Time based claims (applied last, not overwritten)
- Configuration based claims
- Claims from the
remote business logic service
- HTTP request based claims
The claims can come from a few different sources:
remote business logicserviceWith the way Themis is assembled today there is a priority ordering as below:
remote business logicserviceSince the
remote business logicservice is given the HTTP request claims, it should be allowed to adjust/overwrite claims since it (in theory) will know better that the requesting agent.I'll propose we change the processing order to be as follows:
remote business logicservice