File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -89,26 +89,6 @@ def ac_factory(path=""):
8989 return acs
9090
9191
92- def ac_factory_II (path ):
93- return ac_factory (path )
94-
95-
96- # def ava_fro(acs, statement):
97- # """ Translates attributes according to their name_formats into the local
98- # names.
99- #
100- # :param acs: AttributeConverter instances
101- # :param statement: A SAML statement
102- # :return: A dictionary with attribute names replaced with local names.
103- # """
104- # if not statement:
105- # return {}
106- #
107- # acsdic = dict([(ac.name_format, ac) for ac in acs])
108- # acsdic[None] = acsdic[NAME_FORMAT_URI]
109- # return dict([acsdic[a.name_format].ava_from(a) for a in statement])
110-
111-
11292def to_local (acs , statement , allow_unknown_attributes = False ):
11393 """ Replaces the attribute names in a attribute value assertion with the
11494 equivalent name from a local name format.
You can’t perform that action at this time.
0 commit comments