Configure whether unknown attribute should be allowed or not.
This commit is contained in:
@@ -78,7 +78,8 @@ SP_ARGS = [
|
|||||||
"discovery_response",
|
"discovery_response",
|
||||||
"allow_unsolicited",
|
"allow_unsolicited",
|
||||||
"ecp",
|
"ecp",
|
||||||
"name_id_format"
|
"name_id_format",
|
||||||
|
"allow_unknown_attributes"
|
||||||
]
|
]
|
||||||
|
|
||||||
AA_IDP_ARGS = [
|
AA_IDP_ARGS = [
|
||||||
@@ -194,6 +195,7 @@ class Config(object):
|
|||||||
self.entity_category = ""
|
self.entity_category = ""
|
||||||
self.crypto_backend = 'xmlsec1'
|
self.crypto_backend = 'xmlsec1'
|
||||||
self.scope = ""
|
self.scope = ""
|
||||||
|
self.allow_unknown_attributes = False
|
||||||
|
|
||||||
def setattr(self, context, attr, val):
|
def setattr(self, context, attr, val):
|
||||||
if context == "":
|
if context == "":
|
||||||
|
Reference in New Issue
Block a user