Liking cljdoc? Tell your friends :D

saml20-clj.sp


bump-saml-id-timeout!clj

(bump-saml-id-timeout! saml-id-timeouts saml-id issue-instant)

Sets the current time to the provided saml-id in the saml-id-timeouts ref map. This function has side-effects.

Sets the current time to the provided saml-id in the saml-id-timeouts ref map.
This function has side-effects.
raw docstring

create-requestclj

(create-request time-issued
                saml-format
                saml-service-name
                saml-id
                acs-url
                idp-uri)

Return XML elements that represent a SAML 2.0 auth request.

Return XML elements that represent a SAML 2.0 auth request.
raw docstring

create-request-factoryclj

(create-request-factory mutables idp-uri saml-format saml-service-name acs-url)
(create-request-factory next-saml-id-fn!
                        bump-saml-id-timeout-fn!
                        xml-signer
                        idp-uri
                        saml-format
                        saml-service-name
                        acs-url)

Creates new requests for a particular service, format, and acs-url.

Creates new requests for a particular service, format, and acs-url.
raw docstring

generate-mutablesclj

(generate-mutables)

get-idp-redirectclj

(get-idp-redirect idp-url saml-request relay-state)

Return Ring response for HTTP 302 redirect.

Return Ring response for HTTP 302 redirect.
raw docstring

make-saml-decrypterclj

(make-saml-decrypter keystore-filename keystore-password key-alias)

make-saml-signerclj

(make-saml-signer keystore-filename keystore-password key-alias)

metadataclj

(metadata app-name acs-uri certificate-str)

next-saml-id!clj

(next-saml-id! saml-last-id)

Returns the next available saml id.

Returns the next available saml id.
raw docstring

parse-saml-assertionclj

(parse-saml-assertion assertion)

Returns the attributes and the 'audiences' for the given SAML assertion

Returns the attributes and the 'audiences' for the given SAML assertion
raw docstring

parse-saml-resp-statusclj

(parse-saml-resp-status saml-resp)

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

parse-saml-responseclj

(parse-saml-response raw-response)

Does everything from parsing the verifying saml data to returning it in an easy to use map.

Does everything from parsing the verifying saml data to returning it in an easy to use map.
raw docstring

prune-timed-out-ids!clj

(prune-timed-out-ids! saml-id-timeouts timeout-duration)

Given a timeout duration, remove all SAML IDs that are older than now minus the timeout.

Given a timeout duration, remove all SAML IDs that are older than now minus the timeout.
raw docstring

pull-attrsclj

(pull-attrs loc attrs)

response->mapclj

(response->map saml-resp)

Parses and performs final validation of the request. An exception will be thrown if validation fails.

Parses and performs final validation of the request. An exception will be thrown if validation fails.
raw docstring

saml-resp->assertionsclj

(saml-resp->assertions saml-resp decrypter)

Returns the assertions (encrypted or not) of a SAML Response object

Returns the assertions (encrypted or not) of a SAML Response object
raw docstring

validate-saml-response-signatureclj

(validate-saml-response-signature saml-resp idp-cert)

Checks (if exists) the signature of SAML Response given the IdP certificate

Checks (if exists) the signature of SAML Response given the IdP certificate
raw docstring

xml-string->saml-respclj

(xml-string->saml-resp xml-string)

Parses a SAML response (XML string) from IdP and returns the corresponding (Open)SAML Response object

Parses a SAML response (XML string) from IdP and returns the corresponding (Open)SAML Response object
raw docstring

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

× close