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)
(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.
(make-unauthenticated-connection)
Creates a secure but unauthenticated connection, trusting all server certificates.
Creates a secure but unauthenticated connection, trusting all server certificates.
(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