[java-identity-provider COMMIT] in /trunk/idp-core/src: main/java/net/shibboleth/idp/spring/IdentifiableBeanPostProce...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Feb 24 04:42:17 EST 2014
Author: rdw
Date: Mon Feb 24 04:42:16 2014
New Revision: 5456
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5456&view=rev
Log:
JSPT-43 Move the Identification-based Bean Post Processing tests closer to the Post Processors' definition.
Added:
trunk/idp-core/src/test/java/net/shibboleth/idp/spring/BeanPostProcessorTest.java (with props)
trunk/idp-core/src/test/resources/net/shibboleth/idp/spring/identifiableBeanPostProcessorTest.xml (with props)
Modified:
trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessor.java
trunk/idp-core/src/test/resources/logback-test.xml
Modified: trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessor.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessor.java?rev=5456&r1=5455&r2=5456&view=diff
==============================================================================
--- trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessor.java (original)
+++ trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessor.java Mon Feb 24 04:42:16 2014
@@ -39,7 +39,8 @@
if (component.getId() == null) {
component.setId(beanName);
} else if (component.getId().equals(beanName)) {
- log.error("Bean Named {} is initialized to the bean name. This is redundant", beanName);
+ log.error("Bean Named {} has the component identifier set to be the bean name. This is redundant",
+ beanName);
}
}
return bean;
Modified: trunk/idp-core/src/test/resources/logback-test.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/test/resources/logback-test.xml?rev=5456&r1=5455&r2=5456&view=diff
==============================================================================
--- trunk/idp-core/src/test/resources/logback-test.xml (original)
+++ trunk/idp-core/src/test/resources/logback-test.xml Mon Feb 24 04:42:16 2014
@@ -6,6 +6,7 @@
<logger name="net.shibboleth.idp.predicate" level="DEBUG"/>
<logger name="net.shibboleth.idp.service" level="TRACE"/>
<logger name="net.shibboleth.idp.spring" level="DEBUG"/>
+ <logger name="org.springframework" level="DEBUG"/>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
More information about the commits
mailing list