Polishing
This commit is contained in:
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");
|
||||
* 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
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({SecurityEvaluationContextExtension.class, EvaluationContextExtensionSupport.class})
|
||||
@ConditionalOnClass({ SecurityEvaluationContextExtension.class,
|
||||
EvaluationContextExtensionSupport.class })
|
||||
public class SecurityDataConfiguration {
|
||||
|
||||
@ConditionalOnMissingBean(SecurityEvaluationContextExtension.class)
|
||||
|
|
@ -37,4 +38,5 @@ public class SecurityDataConfiguration {
|
|||
public SecurityEvaluationContextExtension securityEvaluationContextExtension() {
|
||||
return new SecurityEvaluationContextExtension();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue