jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r961626 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authentication/LoginModuleTest.java
Date Thu, 08 Jul 2010 08:24:43 GMT
Author: mreutegg
Date: Thu Jul  8 08:24:42 2010
New Revision: 961626

URL: http://svn.apache.org/viewvc?rev=961626&view=rev
Log:
JCR-2671: AbstractLoginModule must not call abort() in commit()
- fix compilation error with Java 5, where Configuration.refresh() is abstract, while in Java
6 it isn't anymore

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authentication/LoginModuleTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authentication/LoginModuleTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authentication/LoginModuleTest.java?rev=961626&r1=961625&r2=961626&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authentication/LoginModuleTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authentication/LoginModuleTest.java
Thu Jul  8 08:24:42 2010
@@ -65,6 +65,10 @@ public class LoginModuleTest extends Abs
     static class TestConfiguration extends Configuration {
 
         @Override
+        public void refresh() {
+        }
+
+        @Override
         public AppConfigurationEntry[] getAppConfigurationEntry(String name) {
             return new AppConfigurationEntry[] {
                     new TestAppConfigurationEntry(AppConfigurationEntry.LoginModuleControlFlag.REQUIRED,
false),



Mime
View raw message