A UserDetails implementation which is used internally by the Ldap services. It also contains the user's
distinguished name and a set of attributes that have been retrieved from the Ldap server.
An instance may be
created as the result of a search, or when user information is retrieved during authentication.
An instance of this class will be used by the LdapAuthenticationProvider to construct the final
user details object that it returns.