  }
 Index: kernel-impl/src/main/java/org/sakaiproject/authz/impl/DbAuthzGroupService.java
 ===================================================================
---- kernel-impl/src/main/java/org/sakaiproject/authz/impl/DbAuthzGroupService.java	(revision 106066)
+--- kernel-impl/src/main/java/org/sakaiproject/authz/impl/DbAuthzGroupService.java	(revision 106071)
 +++ kernel-impl/src/main/java/org/sakaiproject/authz/impl/DbAuthzGroupService.java	(working copy)
 @@ -1636,11 +1636,18 @@
  			// Would be better to get this initially to make the code more efficient, but the realms collection

 }
Index: kernel-impl/src/test/java/org/sakai/memory/impl/test/MockSecurityService.java
===================================================================
--- kernel-impl/src/test/java/org/sakai/memory/impl/test/MockSecurityService.java	(revision 106066)
+++ kernel-impl/src/test/java/org/sakai/memory/impl/test/MockSecurityService.java	(working copy)
@@ -156,5 +156,10 @@
 		return null;

 				// No successful results for roleswap
 				return false;
             }
Index: kernel-impl/src/main/java/org/sakaiproject/authz/impl/NoSecurity.java
===================================================================
--- kernel-impl/src/main/java/org/sakaiproject/authz/impl/NoSecurity.java	(revision 106071)
+++ kernel-impl/src/main/java/org/sakaiproject/authz/impl/NoSecurity.java	(working copy)
@@ -190,4 +190,9 @@
 	public void clearAdvisors()
 	{
 	}
+	
+	public String[] getUserDelegatedAccessRealmRole(String siteRef) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
Index: kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurityTest.java
===================================================================
--- kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurityTest.java	(revision 106071)
+++ kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurityTest.java	(working copy)
@@ -22,6 +22,7 @@
 package org.sakaiproject.authz.impl;
 
 import org.sakaiproject.authz.api.AuthzGroupService;
+import org.sakaiproject.delegatedaccess.logic.ProjectLogic;
 import org.sakaiproject.entity.api.EntityManager;
 import org.sakaiproject.event.api.EventTrackingService;
 import org.sakaiproject.memory.api.MemoryService;
@@ -91,4 +92,11 @@
 	{
 		return null;
 	}
+
+	/**
+	 * @return the ProjectLogic for delegated access
+	 */
+	protected ProjectLogic delegatedAccessProjectLogic() {
+		return null;
+	}
 }
Index: kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurity.java
===================================================================
--- kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurity.java	(revision 106071)
+++ kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurity.java	(working copy)
@@ -33,6 +33,7 @@
 import org.sakaiproject.authz.api.AuthzGroupService;
