aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-09-02 08:45:09 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-09-02 08:45:09 +0200
commitbf97a44c97eac39401200cc2e57f6aba08e2008b (patch)
tree6b36a93eaf3433ce687ddbb84241f7e2154f6382 /id/server/idserverlib/src/main
parent9c7cb7219c32f228cfbc2855c340eb970c2a5151 (diff)
downloadmoa-id-spss-bf97a44c97eac39401200cc2e57f6aba08e2008b.tar.gz
moa-id-spss-bf97a44c97eac39401200cc2e57f6aba08e2008b.tar.bz2
moa-id-spss-bf97a44c97eac39401200cc2e57f6aba08e2008b.zip
Update log message to distinguish between not active and not exists service configurations
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java
index 702cd3ce3..0500a38aa 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/PropertyBasedAuthConfigurationProvider.java
@@ -320,8 +320,7 @@ public class PropertyBasedAuthConfigurationProvider extends ConfigurationProvide
*/
public OAAuthParameter getOnlineApplicationParameter(String oaURL) {
Map<String, String> oa = getActiveOnlineApplication(oaURL);
- if (oa == null) {
- Logger.warn("Online application with identifier " + oaURL + " is not found.");
+ if (oa == null) {
return null;
}
@@ -990,7 +989,11 @@ public class PropertyBasedAuthConfigurationProvider extends ConfigurationProvide
if (isActiveString != null && Boolean.valueOf(isActiveString))
return oaConfig;
- }
+ else
+ Logger.info("Online application with identifier " + id + " is found, but NOT active.");
+
+ } else
+ Logger.warn("Online application with identifier " + id + " is not found.");
} catch (at.gv.egiz.components.configuration.api.ConfigurationException e) {