Configure whether unknown attribute should be allowed or not.

This commit is contained in:
Roland Hedberg
2013-07-08 15:25:06 -07:00
parent a46e175279
commit 12256561b7

View File

@@ -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 == "":