Polishing

pull/3844/head
Andy Wilkinson 9 years ago
parent 34772e4177
commit bb92387928

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2015 the original author or authors. * Copyright 2012-2015 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,8 @@ import org.springframework.security.data.repository.query.SecurityEvaluationCont
* @since 1.3 * @since 1.3
*/ */
@Configuration @Configuration
@ConditionalOnClass({SecurityEvaluationContextExtension.class, EvaluationContextExtensionSupport.class}) @ConditionalOnClass({ SecurityEvaluationContextExtension.class,
EvaluationContextExtensionSupport.class })
public class SecurityDataConfiguration { public class SecurityDataConfiguration {
@ConditionalOnMissingBean(SecurityEvaluationContextExtension.class) @ConditionalOnMissingBean(SecurityEvaluationContextExtension.class)
@ -37,4 +38,5 @@ public class SecurityDataConfiguration {
public SecurityEvaluationContextExtension securityEvaluationContextExtension() { public SecurityEvaluationContextExtension securityEvaluationContextExtension() {
return new SecurityEvaluationContextExtension(); return new SecurityEvaluationContextExtension();
} }
} }
Loading…
Cancel
Save