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

by-jobclj

(by-job name)

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

by-usernameclj

(by-username username)

Create an LDAP filter to search by username.

Create an LDAP filter to search by username.
raw 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.
raw docstring

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

make-connection-poolclj

(make-connection-pool)
(make-connection-pool size)

Make a connection pool to the NHS Wales 'NADEX' user directory.

Make a connection pool to the NHS Wales 'NADEX' user directory.
raw docstring

make-unauthenticated-connectionclj

(make-unauthenticated-connection)

Creates a secure but unauthenticated connection, trusting all server certificates.

Creates a secure but unauthenticated connection, trusting all server certificates.
raw docstring

parse-entryclj

(parse-entry result)

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

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

× close