[java-identity-provider] 01/05: IDP-1181 Mark the idp.initialize.failfast property for tests only
Rod Widdowson
rdw at steadingsoftware.com
Thu Sep 26 10:43:00 EDT 2019
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=ac06c12fd78ab292b8c639418aee2c389272be3e
commit ac06c12fd78ab292b8c639418aee2c389272be3e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Sep 25 15:09:09 2019 +0100
IDP-1181 Mark the idp.initialize.failfast property for tests only
https://issues.shibboleth.net/jira/browse/IDP-1181
---
.../idp/spring/IdPPropertiesApplicationContextInitializer.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java b/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
index f5eecf1..8a1b138 100644
--- a/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
+++ b/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
@@ -284,9 +284,11 @@ public class IdPPropertiesApplicationContextInitializer
/**
* Whether we fail immediately if the config is bogus. Defaults to true. Controlled by the value of the
* {@link #FAILFAST_PROPERTY}.
+ * <b>This functionality is reserved for use in tests </b> where is is usually used to allow
+ * tests to be run in the presence of partial configuration.
*
* @param applicationContext the application context
- * @return whether we fail immediately if the config is bogus
+ * @return whether we fail immediately if the config is faulty or incomplete.
*/
public boolean isFailFast(@Nonnull final ConfigurableApplicationContext applicationContext) {
Constraint.isNotNull(applicationContext, "Application context cannot be null");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list