Integration with NHS Wales' active directory for authentication and user lookup.
Integration with NHS Wales' active directory for authentication and user lookup.
(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.
(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.
(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.
(by-username username)
Create an LDAP filter to search by username.
Create an LDAP filter to search by username.
(can-authenticate? pool username password)
Can the user 'username' authenticate using the 'password' specified? Parameters:
Can the user 'username' authenticate using the 'password' specified? Parameters: - pool : a connection pool - username : username - password : password.
(make-connection-pool {:keys [hosts] :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.
(make-failover-server-set {:keys [hosts port trust-all-certificates?] :as opts})
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close