Liking cljdoc? Tell your friends :D

com.eldrix.concierge.wales.nadex

Integration with NHS Wales' active directory for authentication and user lookup.

Integration with NHS Wales' active directory for authentication and user lookup.
raw docstring

assoc-professional-registrationclj

(assoc-professional-registration {:keys [postOfficeBox] :as user})

Attempt to infer professional regulator and code from user data. NHS Wales keeps the number in the postOfficeBox field of the national directory. I am not sure this is documented anywhere, but this should fail gracefully if this changes.

Attempt to infer professional regulator and code from user data.
NHS Wales keeps the number in the postOfficeBox field of the national
directory. I am not sure this is documented anywhere, but this should fail
gracefully if this changes.
sourceraw docstring

by-jobclj

(by-job name)
source

by-nameclj

(by-name names)

Create an LDAP filter to search by name of individual. This searches both surname 'sn' and first name 'givenName' fields.

Create an LDAP filter to search by name of individual.
This searches both surname 'sn' and first name 'givenName' fields.
sourceraw docstring

by-paramsclj

(by-params params)

Create an LDAP filter to search for the specified arbitrary parameters.

Create an LDAP filter to search for the specified arbitrary parameters.
sourceraw docstring

by-usernameclj

(by-username username)

Create an LDAP filter to search by username.

Create an LDAP filter to search by username.
sourceraw docstring

can-authenticate?clj

(can-authenticate? pool username password)

Can the user 'username' authenticate using the 'password' specified? Parameters:

  • pool : a connection pool
  • username : username
  • password : password.
Can the user 'username' authenticate using the 'password' specified?
Parameters:
 - pool     : a connection pool
 - username : username
 - password : password.
sourceraw docstring

(do-ldap-search pool bind-username bind-password search-filter)
source

make-connection-optionsclj

(make-connection-options opts)
source

make-connection-poolclj

(make-connection-pool {:keys [hosts _host pool-size] :as opts})

Make a connection pool to the NHS Wales 'NADEX' user directory. Unfortunately, NHS Wales uses a self-signed certificate, so you will need to specify 'trust-all-certificates?'. This is the default.

Make a connection pool to the NHS Wales 'NADEX' user directory.
Unfortunately, NHS Wales uses a self-signed certificate, so you will need to
specify 'trust-all-certificates?'. This is the default.
sourceraw docstring

make-failover-server-setclj

(make-failover-server-set {:keys [hosts port trust-all-certificates?] :as opts})
source

make-unauthenticated-connectionclj

(make-unauthenticated-connection)
(make-unauthenticated-connection {:keys [host port trust-all-certificates?]
                                  :as opts})

Creates a secure but unauthenticated connection.

Creates a secure but unauthenticated connection.
sourceraw docstring

parse-entryclj

(parse-entry result)
source

(search pool bind-username bind-password)
(search pool bind-username bind-password search-filter)

Search for users, either using their own credentials (and implicitly searching for themselves, or using specific generic binding credentials and the 'filter' specified.

Search for users, either using their own credentials (and implicitly
searching for themselves, or using specific generic binding credentials
and the 'filter' specified.
sourceraw docstring

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

× close