mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
pytest: token_factory note that a flag is not set
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
51d9444baa
commit
4cc91d2828
@ -59,6 +59,11 @@ def list_to_claim(k, v, case_sensitive=False):
|
||||
if case_sensitive:
|
||||
c.flags |= security.CLAIM_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE
|
||||
|
||||
# The claims made here will not have the
|
||||
# CLAIM_SECURITY_ATTRIBUTE_UNIQUE_AND_SORTED flag set, which makes
|
||||
# them like resource attribute claims rather than real wire
|
||||
# claims. It shouldn't matter much, as they will just be sorted
|
||||
# and checked as if they were resource attribute claims.
|
||||
return c
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user