incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvazq...@apache.org
Subject svn commit: r790494 - in /sling/trunk/bundles/extensions/openidauth: pom.xml src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java
Date Thu, 02 Jul 2009 08:22:34 GMT
Author: jvazquez
Date: Thu Jul  2 08:22:34 2009
New Revision: 790494

URL: http://svn.apache.org/viewvc?rev=790494&view=rev
Log:
Implemented addPrincipals(Set) from LoginModulePlugin interface.

Modified:
    sling/trunk/bundles/extensions/openidauth/pom.xml
    sling/trunk/bundles/extensions/openidauth/src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java

Modified: sling/trunk/bundles/extensions/openidauth/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/openidauth/pom.xml?rev=790494&r1=790493&r2=790494&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/openidauth/pom.xml (original)
+++ sling/trunk/bundles/extensions/openidauth/pom.xml Thu Jul  2 08:22:34 2009
@@ -166,7 +166,7 @@
 	    <dependency>
 	    	<groupId>org.apache.sling</groupId>
 	    	<artifactId>org.apache.sling.jcr.jackrabbit.server</artifactId>
-	    	<version>2.0.4-incubator</version>
+	    	<version>2.0.5-SNAPSHOT</version>
 	    </dependency>
     </dependencies>
 </project>

Modified: sling/trunk/bundles/extensions/openidauth/src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/openidauth/src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java?rev=790494&r1=790493&r2=790494&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/openidauth/src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java
(original)
+++ sling/trunk/bundles/extensions/openidauth/src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java
Thu Jul  2 08:22:34 2009
@@ -22,6 +22,7 @@
 import java.security.Principal;
 import java.util.Map;
 import java.util.Properties;
+import java.util.Set;
 
 import javax.jcr.Credentials;
 import javax.jcr.RepositoryException;
@@ -611,6 +612,11 @@
 		}
 		return null;
 	}
+	
+	@SuppressWarnings("unchecked")
+    public void addPrincipals(Set principals) {
+        // Nothing to do
+    }
 
 	public int impersonate(Principal principal, Credentials credentials)
 			throws RepositoryException, FailedLoginException {



Mime
View raw message