Code for parsing the XML response (as a String)from the IdP to an OpenSAML Response, and for basic operations like
validating the signature and reading assertions.
Code for parsing the XML response (as a String)from the IdP to an OpenSAML `Response`, and for basic operations like validating the signature and reading assertions.
(Assertion->map assertion)Returns the attributes and the 'audiences' for the given SAML assertion
Returns the attributes and the 'audiences' for the given SAML assertion
(assertions decrypted-response)(assertions possibly-encrypted-response sp-private-key)Returns the assertions (encrypted or not) of a SAML Response object
Returns the assertions (encrypted or not) of a SAML Response object
(clone-response response)Clone an OpenSAML response object.
Clone an OpenSAML `response` object.
(decrypt-response response sp-private-key)Decrypt response using sp-private-key if it has encrypted Assertions. If it does not have encrypted assertions,
return response as-is.
Decrypt `response` using `sp-private-key` if it has encrypted Assertions. If it does not have encrypted assertions, return `response` as-is.
(response-status response)Parses and returns information about the status (i.e. successful or not), the version, addressing info etc. of the SAML response
Check the javadoc of OpenSAML at:
Parses and returns information about the status (i.e. successful or not), the version, addressing info etc. of the SAML response Check the javadoc of OpenSAML at: https://build.shibboleth.net/nexus/service/local/repositories/releases/archive/org/opensaml/opensaml/2.5.3/opensaml-2.5.3-javadoc.jar/!/index.html
(validate response idp-cert sp-private-key)(validate response idp-cert sp-private-key options)Validate response. Returns decrypted response if valid.
Validate response. Returns decrypted response if valid.
(validate-assertion validation response options)Perform a validation operation on an Assertion.
Perform a validation operation on an Assertion.
(validate-confirmation-datas [data-binding assertion] & body)(validate-response validation
                   possibly-encrypted-response
                   unencryped-response
                   options)Perform a validation operation on a Response.
Perform a validation operation on a Response.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |