config/src/main/java/org/springframework/security/config/annotation/web/configurers/openid/OpenIDLoginConfigurer.java
private AuthenticationUserDetailsService<OpenIDAuthenticationToken> getAuthenticationUserDetailsService(
			H http) {
		if (this.authenticationUserDetailsService != null) {
			return this.authenticationUserDetailsService;
		}
		return new UserDetailsByNameServiceWrapper<>(
				http.getSharedObject(UserDetailsService.class));
	}
private AuthenticationUserDetailsService<OpenIDAuthenticationToken> getAuthenticationUserDetailsService(
			H http) {
		if (this.authenticationUserDetailsService != null) {
			return this.authenticationUserDetailsService;
		}
		return new UserDetailsByNameServiceWrapper<>(
				http.getSharedObject(UserDetailsService.class));
	}
Gets the {@link AuthenticationUserDetailsService} that was configured or defaults
to {@link UserDetailsByNameServiceWrapper} that uses a {@link UserDetailsService}
looked up using {@link HttpSecurity#getSharedObject(Class)}

@param http the current {@link HttpSecurity}
@return the {@link AuthenticationUserDetailsService}.