Liking cljdoc? Tell your friends :D

saml20-clj.sp.response

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.
raw docstring

Assertion->mapclj

(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
sourceraw docstring

assertion->subject-confirmation-datasclj

(assertion->subject-confirmation-datas assertion)
source

assertionsclj

(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
sourceraw docstring

clone-responseclj

(clone-response response)

Clone an OpenSAML response object.

Clone an OpenSAML `response` object.
sourceraw docstring

decrypt-responseclj

(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.
sourceraw docstring

default-validation-optionsclj

source

opensaml-assertionsclj

(opensaml-assertions response)
source

response-statusclj

(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:

https://build.shibboleth.net/nexus/service/local/repositories/releases/archive/org/opensaml/opensaml/2.5.3/opensaml-2.5.3-javadoc.jar/!/index.html

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
sourceraw docstring

saml2-attr->nameclj

source

subjectclj

(subject assertion)
source

subject-confirmationsclj

(subject-confirmations subject)
source

subject-dataclj

(subject-data subject-confirmation)
source

validateclj

(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.
sourceraw docstring

validate-assertioncljmultimethod

(validate-assertion validation response options)

Perform a validation operation on an Assertion.

Perform a validation operation on an Assertion.
sourceraw docstring

validate-confirmation-datascljmacro

(validate-confirmation-datas [data-binding assertion] & body)
source

validate-responsecljmultimethod

(validate-response validation
                   possibly-encrypted-response
                   unencryped-response
                   options)

Perform a validation operation on a Response.

Perform a validation operation on a Response.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close