config/src/main/java/org/springframework/security/config/annotation/web/configurers/JeeConfigurer.java
private J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource createWebAuthenticationDetailsSource() {
		J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource detailsSource = new J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource();
		SimpleMappableAttributesRetriever rolesRetriever = new SimpleMappableAttributesRetriever();
		rolesRetriever.setMappableAttributes(mappableRoles);
		detailsSource.setMappableRolesRetriever(rolesRetriever);

		detailsSource = postProcess(detailsSource);
		return detailsSource;
	}
private J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource createWebAuthenticationDetailsSource() {
		J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource detailsSource = new J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource();
		SimpleMappableAttributesRetriever rolesRetriever = new SimpleMappableAttributesRetriever();
		rolesRetriever.setMappableAttributes(mappableRoles);
		detailsSource.setMappableRolesRetriever(rolesRetriever);

		detailsSource = postProcess(detailsSource);
		return detailsSource;
	}
Creates the {@link J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource} to set
on the {@link J2eePreAuthenticatedProcessingFilter}. It is populated with a
{@link SimpleMappableAttributesRetriever}.

@return the {@link J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource} to use.