Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decryption of encrypted SAML responses. #169

Open
wants to merge 1 commit into
base: version_3.1.6
Choose a base branch
from

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