config/src/main/java/org/springframework/security/config/annotation/web/configurers/X509Configurer.java
public X509Configurer<H> userDetailsService(UserDetailsService userDetailsService) {
		UserDetailsByNameServiceWrapper<PreAuthenticatedAuthenticationToken> authenticationUserDetailsService = new UserDetailsByNameServiceWrapper<>();
		authenticationUserDetailsService.setUserDetailsService(userDetailsService);
		return authenticationUserDetailsService(authenticationUserDetailsService);
	}
public X509Configurer<H> userDetailsService(UserDetailsService userDetailsService) {
		UserDetailsByNameServiceWrapper<PreAuthenticatedAuthenticationToken> authenticationUserDetailsService = new UserDetailsByNameServiceWrapper<>();
		authenticationUserDetailsService.setUserDetailsService(userDetailsService);
		return authenticationUserDetailsService(authenticationUserDetailsService);
	}
public X509Configurer < H > userDetailsService ( UserDetailsService userDetailsService ) { UserDetailsByNameServiceWrapper < PreAuthenticatedAuthenticationToken > authenticationUserDetailsService = new UserDetailsByNameServiceWrapper <> ( ) ; authenticationUserDetailsService . setUserDetailsService ( userDetailsService ) ; return authenticationUserDetailsService ( authenticationUserDetailsService ) ; }
Shortcut for invoking
{@link #authenticationUserDetailsService(AuthenticationUserDetailsService)} with a
{@link UserDetailsByNameServiceWrapper}.

@param userDetailsService the {@link UserDetailsService} to use
@return the {@link X509Configurer} for further customizations
Shortcut for invoking { @link #authenticationUserDetailsService ( AuthenticationUserDetailsService ) } with a { @link UserDetailsByNameServiceWrapper } .