  	</bean>
 Index: api/src/main/java/org/sakaiproject/authz/api/SecurityService.java
 ===================================================================
---- api/src/main/java/org/sakaiproject/authz/api/SecurityService.java	(revision 106066)
+--- api/src/main/java/org/sakaiproject/authz/api/SecurityService.java	(revision 106071)
 +++ api/src/main/java/org/sakaiproject/authz/api/SecurityService.java	(working copy)
 @@ -187,4 +187,16 @@
  	 */

 				// No successful results for roleswap
 				return false;
             }
Index: kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurity.java
===================================================================
--- kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurity.java	(revision 106066)
+++ kernel-impl/src/main/java/org/sakaiproject/authz/impl/SakaiSecurity.java	(working copy)
@@ -33,6 +33,7 @@
 import org.sakaiproject.authz.api.AuthzGroupService;

 
 	/**********************************************************************************************************************************************************************************************************************************************************
 	 * Configuration
@@ -557,4 +560,18 @@
 		
 		return;
 	}
+	
+	public String[] getUserDelegatedAccessRealmRole(String siteRef){
+		//returns an array of {realm, role} as well as sets the users session denied tools map
+		try{
+			String[] access = delegatedAccessProjectLogic().getCurrentUsersAccessToSite(siteRef);
+			if(access != null && access.length == 2){
+				return access;
+			}else{
+				return null;
+			}
+		}catch(Exception e){
+			return null;
+		}
+	}
 }
Index: kernel-impl/pom.xml
===================================================================
--- kernel-impl/pom.xml	(revision 106071)
+++ kernel-impl/pom.xml	(working copy)
@@ -45,6 +45,11 @@
   </build>
