SAML utility class based on ANL examples for Earth System Grid:
http://www.ci.uchicago.edu/wiki/bin/view/ESGProject/ESGSAMLAttributes#ESG_Attribute_Service
|
__init__(self)
Set-up ESG core attributes, Group/Role and miscellaneous attributes
lists |
source code
|
|
|
|
ndg.security.common.saml.Assertion
|
buildAssertion(self)
Create a SAML Assertion containing ESG core attributes: First Name,
Last Name, e-mail Address; ESG Group/Role type attributes and generic
attributes |
source code
|
|
|
|
|
createAttributes(self)
Create SAML Attributes for use in an Assertion or AttributeQuery |
source code
|
|
|
buildAuthzDecisionQuery(self,
issuer=' /O=NDG/OU=BADC/CN=attributeauthority.badc.rl.ac.uk ' ,
issuerFormat=' urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName ' ,
subjectNameID=' https://openid.localhost/philip.kershaw ' ,
subjectNameIdFormat=' urn:esg:openid ' ,
resource=' http://LOCALHOST:80/My Secured URI ' ,
actions=( ( ' GET ' , ' urn:oasis:names:tc:SAML:1.0:action:ghpp ' ) ) )
Convenience utility to make an Authorisation decision query |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|