Class UsernameToBindDnConverter.ByDomainEmail
java.lang.Object
org.bremersee.spring.security.ldaptive.authentication.UsernameToBindDnConverter.ByDomainEmail
- All Implemented Interfaces:
UsernameToBindDnConverter
- Enclosing interface:
UsernameToBindDnConverter
public static class UsernameToBindDnConverter.ByDomainEmail
extends Object
implements UsernameToBindDnConverter
Converts a username (like 'foobar') into it's (active directory) bind dn (like
'foobar@example.org').
- Author:
- Christian Bremer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bremersee.spring.security.ldaptive.authentication.UsernameToBindDnConverter
UsernameToBindDnConverter.ByDomainEmail, UsernameToBindDnConverter.ByUserRdnAttribute -
Constructor Summary
ConstructorsConstructorDescriptionByDomainEmail(LdaptiveAuthenticationProperties properties) Instantiates a new converter. -
Method Summary
-
Constructor Details
-
ByDomainEmail
Instantiates a new converter.- Parameters:
properties- the properties
-
-
Method Details
-
convert
Description copied from interface:UsernameToBindDnConverterConverts a username (like 'foobar') into it's bind dn (like 'uid=foobar,ou=people,dc=example,dc=org').- Specified by:
convertin interfaceUsernameToBindDnConverter- Parameters:
username- the username- Returns:
- the bind dn
-