jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1435139 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
Date Fri, 18 Jan 2013 13:59:56 GMT
Author: jukka
Date: Fri Jan 18 13:59:55 2013
New Revision: 1435139

URL: http://svn.apache.org/viewvc?rev=1435139&view=rev
Log:
OAK-497: No LoginModules configured error on Java 7

Drop severity of the default JAAS configuration messages from warn to info,
as they simply state that in the absense of explicit JAAS configuration the
default built-in configuration gets used.

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java?rev=1435139&r1=1435138&r2=1435139&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
Fri Jan 18 13:59:55 2013
@@ -62,11 +62,11 @@ public class AuthenticationConfiguration
             loginConfig = Configuration.getConfiguration();
             // FIXME: workaround for Java7 behavior. needs clean up (see OAK-497)
             if (loginConfig.getAppConfigurationEntry(appName) == null) {
-                log.warn("No login configuration available for " + appName + ": using default.");
+                log.info("No login configuration available for " + appName + ": using default.");
                 loginConfig = null;
             }
         } catch (SecurityException e) {
-            log.warn("Failed to retrieve login configuration: using default. " + e);
+            log.info("Failed to retrieve login configuration: using default. " + e);
         }
         if (loginConfig == null) {
             loginConfig = new OakConfiguration(options); // TODO: define configuration structure



Mime
View raw message