Uses of Interface
org.forgerock.opendj.rest2ldap.authz.AuthenticationStrategy
Package
Description
APIs for implementing REST to LDAP gateways.
This package contains
Filter
to authenticate and authorize LDAP connections.-
Uses of AuthenticationStrategy in org.forgerock.opendj.rest2ldap
Modifier and TypeMethodDescriptionprotected ConditionalFilters.ConditionalFilter
Rest2LdapHttpApplication.newBasicAuthenticationFilter
(AuthenticationStrategy authenticationStrategy, Function<org.forgerock.http.protocol.Headers, Pair<String, String>, NeverThrowsException> credentialsExtractor) Gets aFilter
in charge of performing the HTTP-Basic Authentication. -
Uses of AuthenticationStrategy in org.forgerock.opendj.rest2ldap.authz
Modifier and TypeMethodDescriptionstatic AuthenticationStrategy
AuthenticationStrategies.newSaslPlainStrategy
(LdapClient ldapClient, Schema schema, String authcIdTemplate) Creates anAuthenticationStrategy
performing authentication against an LDAP server using a plain SASL bind request.static AuthenticationStrategy
AuthenticationStrategies.newSaslScramStrategy
(LdapClient ldapClient, ScramMechanism scramMechanism, Schema schema, String authcIdTemplate) Creates anAuthenticationStrategy
performing authentication against an LDAP server using a SCRAM SASL bind request.static AuthenticationStrategy
AuthenticationStrategies.newSearchThenBindStrategy
(LdapClient searchLdapClient, LdapClient bindLdapClient, Dn baseDN, SearchScope searchScope, String filterTemplate) Creates anAuthenticationStrategy
performing authentication against an LDAP server by first performing a lookup of the entry to bind with.static AuthenticationStrategy
AuthenticationStrategies.newSimpleBindStrategy
(LdapClient ldapClient, String bindDNTemplate, Schema schema) Creates anAuthenticationStrategy
performing simple BIND authentication against an LDAP server.static AuthenticationStrategy
AuthenticationStrategies.newSimpleBindStrategy
(LdapClient ldapClient, Function<String, Dn> dnMapper) Creates anAuthenticationStrategy
performing simple BIND authentication against an LDAP server.Modifier and TypeMethodDescriptionAuthorization.newConditionalHttpBasicAuthenticationFilter
(AuthenticationStrategy authenticationStrategy, Function<org.forgerock.http.protocol.Headers, Pair<String, String>, NeverThrowsException> credentialsExtractor) Creates a newConditionalFilters.ConditionalFilter
performing authentication.