1 diff -ur ../../src-unpatched/trunk/org/apache/harmony/javax/security/auth/login/Configuration.java ./org/apache/harmony/javax/security/auth/login/Configuration.java 2 --- ../../src-unpatched/trunk/org/apache/harmony/javax/security/auth/login/Configuration.java 2009-12-06 18:40:25.000000000 +0100 3 +++ ./org/apache/harmony/javax/security/auth/login/Configuration.java 2009-12-06 18:44:23.000000000 +0100 4 @@ -20,8 +20,6 @@ 5 import java.security.AccessController; 6 import org.apache.harmony.javax.security.auth.AuthPermission; 7 8 -import org.apache.harmony.security.fortress.PolicyUtils; 9 - 10 public abstract class Configuration { 11 12 // the current configuration 13 @@ -56,8 +54,18 @@ 14 * exception, wraps it with SecurityException and throws further. 15 */ 16 private static final Configuration getDefaultProvider() { 17 - return AccessController.doPrivileged(new PolicyUtils.ProviderLoader<Configuration>( 18 - LOGIN_CONFIGURATION_PROVIDER, Configuration.class)); 19 + return new Configuration() { 20 + 21 + @Override 22 + public void refresh() { 23 + } 24 + 25 + @Override 26 + public AppConfigurationEntry[] getAppConfigurationEntry( 27 + String applicationName) { 28 + return new AppConfigurationEntry[0]; 29 + } 30 + }; 31 } 32 33 /** 34