jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1401612 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalLoginModule.java
Date Wed, 24 Oct 2012 10:33:15 GMT
Author: angela
Date: Wed Oct 24 10:33:15 2012
New Revision: 1401612

URL: http://svn.apache.org/viewvc?rev=1401612&view=rev
Log:
 OAK-91 - Implement Authentication Support (WIP)

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalLoginModule.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalLoginModule.java?rev=1401612&r1=1401611&r2=1401612&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalLoginModule.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalLoginModule.java
Wed Oct 24 10:33:15 2012
@@ -74,7 +74,7 @@ public abstract class ExternalLoginModul
             throw new SyncException("Error while getting SyncHandler:", e);
         }
 
-        if (syncHandler.getClass().isAssignableFrom(SyncHandler.class)) {
+        if (syncHandler instanceof SyncHandler) {
             return (SyncHandler) syncHandler;
         } else {
             throw new SyncException("Invalid SyncHandler class configured: " + syncHandler.getClass().getName());



Mime
View raw message