|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright 2002-2015 the original author or authors.
|
|
|
|
|
|
+ * Copyright 2002-2019 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.
|
|
@@ -82,7 +82,7 @@ class InitializeUserDetailsBeanManagerConfigurer
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @return
|
|
|
|
|
|
+ * @return a bean of the requested class if there's just a single registered component, null otherwise.
|
|
*/
|
|
*/
|
|
private <T> T getBeanOrNull(Class<T> type) {
|
|
private <T> T getBeanOrNull(Class<T> type) {
|
|
String[] userDetailsBeanNames = InitializeUserDetailsBeanManagerConfigurer.this.context
|
|
String[] userDetailsBeanNames = InitializeUserDetailsBeanManagerConfigurer.this.context
|