diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-09-09 08:29:17 +0200 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-09-09 08:29:17 +0200 |
commit | e3ea651c717d3d2c487fc36d2a207620695fdffe (patch) | |
tree | 86ebbcf3fc24dbf082090582feddd50957a8a4ae /src/saml2/entity_category | |
parent | b8fa3442f572f8d9fe61a6f7abad1df3ef23990e (diff) | |
download | pysaml2-e3ea651c717d3d2c487fc36d2a207620695fdffe.tar.gz |
Updated the Austrian government entity categories.
Diffstat (limited to 'src/saml2/entity_category')
-rw-r--r-- | src/saml2/entity_category/at_egov_pvp2.py | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/src/saml2/entity_category/at_egov_pvp2.py b/src/saml2/entity_category/at_egov_pvp2.py index 60abe70d..ca1a23b7 100644 --- a/src/saml2/entity_category/at_egov_pvp2.py +++ b/src/saml2/entity_category/at_egov_pvp2.py @@ -1,25 +1,37 @@ -__author__ = 'rainerh' #2013-08-28 -# Preliminary version, not including all attributes defined for eGov Token +__author__ = 'rhoerbe' #2013-09-05 +# Entity Categories specifying the PVP eGov Token as of "PVP2-Allgemein V2.1.0", http://www.ref.gv.at/ -PRINCIPAL = ["PVP-PRINCIPALNAME", - "PVP-GIVENNAME", +EGOVTOKEN = ["PVP-VERSION", + "PVP-PRINCIPALNAME", + "PVP-GIVENNAME", + "PVP-BIRTHDATE", + "PVP-USERID", + "PVP-GID", + "PVP-BPK", + "PVP-MAIL", + "PVP-TEL", + "PVP-PARTICIPANT-ID", + "PVP-PARTICIPANT-OKZ", + "PVP-OU-OKZ", + "PVP-OU", + "PVP-OU-GV-OU-ID", + "PVP-FUNCTION", + "PVP-ROLES", ] -ORG_INFO = ["PVP-OU", - "PVP-OU-GV-OU-ID", -] -OTHER = ["PVP-GID", - "PVP-ROLES", - "PVP-BPK", - "PVP-USERID", - "PVP-MAIL", - "PVP-TEL", + + +CHARGEATTR = ["PVP-INVOICE-RECPT-ID", + "PVP-COST-CENTER-ID", + "PVP-CHARGE-CODE", ] -# These give you access to information +# all eGov Token attributes except (1) transaction charging and (2) chaining PVP2 = "http://www.ref.gv.at/ns/names/agiz/pvp/egovtoken" +# transaction charging extension PVP2CHARGE = "http://www.ref.gv.at/ns/names/agiz/pvp/egovtoken-charge" RELEASE = { - PVP2: PRINCIPAL + ORG_INFO + OTHER, + PVP2: EGOVTOKEN, + PVP2CHARGE: CHARGEATTR, } |