config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.java
public void setImportMetadata(AnnotationMetadata importMetadata) {
		Map<String, Object> enableWebSecurityAttrMap = importMetadata
				.getAnnotationAttributes(EnableWebSecurity.class.getName());
		AnnotationAttributes enableWebSecurityAttrs = AnnotationAttributes
				.fromMap(enableWebSecurityAttrMap);
		debugEnabled = enableWebSecurityAttrs.getBoolean("debug");
		if (webSecurity != null) {
			webSecurity.debug(debugEnabled);
		}
	}
public void setImportMetadata(AnnotationMetadata importMetadata) {
		Map<String, Object> enableWebSecurityAttrMap = importMetadata
				.getAnnotationAttributes(EnableWebSecurity.class.getName());
		AnnotationAttributes enableWebSecurityAttrs = AnnotationAttributes
				.fromMap(enableWebSecurityAttrMap);
		debugEnabled = enableWebSecurityAttrs.getBoolean("debug");
		if (webSecurity != null) {
			webSecurity.debug(debugEnabled);
		}
	}
public void setImportMetadata ( AnnotationMetadata importMetadata ) { Map < String , Object > enableWebSecurityAttrMap = importMetadata . getAnnotationAttributes ( EnableWebSecurity . class . getName ( ) ) ; AnnotationAttributes enableWebSecurityAttrs = AnnotationAttributes . fromMap ( enableWebSecurityAttrMap ) ; debugEnabled = enableWebSecurityAttrs . getBoolean ( "debug" ) ; if ( webSecurity != null ) { webSecurity . debug ( debugEnabled ) ; } }
/*
(non-Javadoc)

@see org.springframework.context.annotation.ImportAware#setImportMetadata(org.
springframework.core.type.AnnotationMetadata)
/ * ( non - Javadoc )