Skip to content

Conversation

@Heikkips
Copy link

@Heikkips Heikkips commented Dec 3, 2019

Added a functionality for the decryption of the encrypted assertions of the SAML responses.

Can be used from the custom scripts in following way:

saml_response = requestParameters.get("SAMLResponse")[0]

samlResponse = org.gluu.saml.Response(self.samlConfiguration)

samlResponse.loadEncryptedXmlFromBase64(saml_response)

saml_response_attributes = samlResponse.getDecryptedAttributes(
                                                self.keystoreType, 
                                                self.keystoreLocation, self.keystorePassword, 
                                                self.keyAlias,self.keyPassword)

saml_response_name_id = samlResponse.getDecryptedNameId()

@Heikkips Heikkips changed the base branch from master to version_3.1.5 December 3, 2019 07:55
@Heikkips Heikkips changed the base branch from version_3.1.5 to version_3.1.6 December 3, 2019 07:55
@willow9886 willow9886 requested a review from yurem December 6, 2019 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant