I am adding a test to verify @ConversationalAttributes
(SinglePrincipal = true). Here is the related text from the Java
API/Annot specification:
1669 • singlePrincipal (optional) – If true, only the principal
(the user) that started the conversation has
1670 authority to continue the conversation. The default value is false
I would like to create the simplest test possible and this is what I
have come up with so far:
--Three components each with a single service: A, B, C. C is
conversational with SinglePrincipal = true.
--A and B are configured such that each "requires" a policy set
(jassAuthentication1 and jassAuthentication2 respectively)
--A will initiate a conversation with C
--A will pass its C-reference to B
--B will attempt to continue the conversation and this should fail
since B represents a different "principal"
I'll start implementing this but would appreciate any suggestions ...
especially if I am way out in the weeds :-)
Thanks,
--Kevin