This query selects all documents where the tag property (left hand side from the equal sign) matches the list of tags of this document (right hand side of the equal sign; the ${...} references the values of referenced property of the document this query is part of).
Tip Box
More information on your query options is found in Search Tips.
As expected all documents that are tagged with security and jaas are listed. The order in which the tags are actually specified on the single pages do not matter.